summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2004-02-29 12:16:32 +0000
committerTim Yamin <plasmaroo@gentoo.org>2004-02-29 12:16:32 +0000
commit5ce9425959f9d6fc0d49459aaf16359d392a1d49 (patch)
tree9ee99322ece70a81b5dc6da23dae85e1ee6966f9 /app-arch/arj/files
parentUpdate copyright (Manifest recommit) (diff)
downloadgentoo-2-5ce9425959f9d6fc0d49459aaf16359d392a1d49.tar.gz
gentoo-2-5ce9425959f9d6fc0d49459aaf16359d392a1d49.tar.bz2
gentoo-2-5ce9425959f9d6fc0d49459aaf16359d392a1d49.zip
Added compatibility patch for 2.6 headers...
Diffstat (limited to 'app-arch/arj/files')
-rw-r--r--app-arch/arj/files/arj-3.10.18-2.6.headers.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-arch/arj/files/arj-3.10.18-2.6.headers.patch b/app-arch/arj/files/arj-3.10.18-2.6.headers.patch
new file mode 100644
index 000000000000..3c4437d7c190
--- /dev/null
+++ b/app-arch/arj/files/arj-3.10.18-2.6.headers.patch
@@ -0,0 +1,13 @@
+--- environ.c 2003-06-27 09:58:04.000000000 +0100
++++ environ.c.plasmaroo 2004-02-29 12:04:33.000000000 +0000
+@@ -56,6 +56,10 @@
+ #if defined(linux)
+ #include <sys/ioctl.h>
+ #include <linux/fs.h>
++ #include <linux/version.h>
++ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
++ #include <sys/statfs.h>
++ #endif
+ #elif defined(__FreeBSD__)
+ #include <sys/param.h>
+ #include <sys/mount.h>