summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2005-05-17 19:30:17 +0000
committerDaniel Drake <dsd@gentoo.org>2005-05-17 19:30:17 +0000
commit5405a77a00279b993fbdb11256bfb810e7023678 (patch)
tree42dd375285685b564088573bd4beb46326a06b5b /sys-fs/cloop/files
parentusing genpatches-base, fixing several recent sec vulns by patching up to 2.6.... (diff)
downloadgentoo-2-5405a77a00279b993fbdb11256bfb810e7023678.tar.gz
gentoo-2-5405a77a00279b993fbdb11256bfb810e7023678.tar.bz2
gentoo-2-5405a77a00279b993fbdb11256bfb810e7023678.zip
Fix compilation with Linux 2.4 headers thanks to Christophe Garault <gentoo@garault.org> in bug #90646
(Portage version: 1.589-cvs)
Diffstat (limited to 'sys-fs/cloop/files')
-rw-r--r--sys-fs/cloop/files/cloop-2.01.5-netinet-gentoo.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys-fs/cloop/files/cloop-2.01.5-netinet-gentoo.patch b/sys-fs/cloop/files/cloop-2.01.5-netinet-gentoo.patch
new file mode 100644
index 000000000000..4d7d73c8c334
--- /dev/null
+++ b/sys-fs/cloop/files/cloop-2.01.5-netinet-gentoo.patch
@@ -0,0 +1,18 @@
+--- cloop-2.01/advancecomp-1.9_create_compressed_fs/advfs.cc.orig 2005-05-17 20:19:15.000000000 +0100
++++ cloop-2.01/advancecomp-1.9_create_compressed_fs/advfs.cc 2005-05-17 20:19:36.000000000 +0100
+@@ -21,6 +21,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/stat.h>
++#include <netinet/in.h>
+ #include <asm/byteorder.h>
+ #include <fcntl.h>
+ #include <zlib.h>
+@@ -31,7 +32,6 @@
+ #include "compress.h"
+ #include "siglock.h"
+ #define __OPTIMIZE__
+-#include <netinet/in.h>
+
+ #include "lib/mng.h"
+ #include "lib/endianrw.h"