]> gitweb @ CieloNegro.org - pkgsrc-cinelerra-cv.git/blobdiff - patches/patch-filesystem_C
wip...
[pkgsrc-cinelerra-cv.git] / patches / patch-filesystem_C
diff --git a/patches/patch-filesystem_C b/patches/patch-filesystem_C
new file mode 100644 (file)
index 0000000..3a15f69
--- /dev/null
@@ -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;