aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libfpx/files/patch-basics::a_file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libfpx/files/patch-basics::a_file.cpp')
-rw-r--r--graphics/libfpx/files/patch-basics::a_file.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/graphics/libfpx/files/patch-basics::a_file.cpp b/graphics/libfpx/files/patch-basics::a_file.cpp
new file mode 100644
index 000000000000..f9abb1a75eb7
--- /dev/null
+++ b/graphics/libfpx/files/patch-basics::a_file.cpp
@@ -0,0 +1,24 @@
+--- basics/a_file.cpp Sat Dec 23 17:10:00 2000
++++ basics/a_file.cpp Thu Jan 18 11:37:44 2001
+@@ -29,4 +29,4 @@
+ # include <sys/types.h>
++# include <sys/uio.h>
+ # include <sys/stat.h>
+-# include <sys/statfs.h>
+ # include <sys/ioctl.h>
+--- basics/filename.cpp Sat Dec 23 17:10:00 2000
++++ basics/filename.cpp Thu Jan 18 11:33:35 2001
+@@ -39,3 +39,4 @@
+ # include <sys/stat.h>
+-# include <sys/statfs.h>
++# include <sys/param.h>
++# include <sys/mount.h>
+ # include <stdio.h>
+@@ -424,5 +425,4 @@
+ struct statfs buf;
+- int errNum=0, fstyp;
++ int errNum=0;
+ /* Get file system stats */
+- fstyp=0;
+- errNum = statfs ( ".", &buf, sizeof( struct statfs ), fstyp);
++ errNum = statfs ( ".", &buf);