X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=pkgsrc-cinelerra-cv.git;a=blobdiff_plain;f=patches%2Fpatch-filesystem_C;fp=patches%2Fpatch-filesystem_C;h=3a15f6943ade650990a13b6f503f2b031b05f6ae;hp=0000000000000000000000000000000000000000;hb=7dddc5098a70b61fa8021db2e051d5b4a8403aa1;hpb=862d0343df3a5c45a375ee3e594007f305359814 diff --git a/patches/patch-filesystem_C b/patches/patch-filesystem_C new file mode 100644 index 0000000..3a15f69 --- /dev/null +++ b/patches/patch-filesystem_C @@ -0,0 +1,22 @@ +$NetBSD$ + +--- guicast/filesystem.C.orig 2010-01-29 07:08:10.000000000 +0000 ++++ guicast/filesystem.C +@@ -393,7 +393,7 @@ int FileSystem::test_filter(FileItem *fi + int FileSystem::update(char *new_dir) + { + DIR *dirstream; +- struct dirent64 *new_filename; ++ struct dirent *new_filename; + struct stat ostat; + struct tm *mod_time; + int i, j, k, include_this; +@@ -408,7 +408,7 @@ int FileSystem::update(char *new_dir) + dirstream = opendir(current_dir); + if(!dirstream) return 1; // failed to open directory + +- while(new_filename = readdir64(dirstream)) ++ while(new_filename = readdir(dirstream)) + { + include_this = 1; +