]> git.pld-linux.org Git - packages/samba.git/commitdiff
- support <asm/statfs.h> and <sys/statfs.h> conflict on alpha,ppc,sparc too
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 9 Nov 2003 16:09:50 +0000 (16:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    samba-statfs-workaround.patch -> 1.1

samba-statfs-workaround.patch [new file with mode: 0644]

diff --git a/samba-statfs-workaround.patch b/samba-statfs-workaround.patch
new file mode 100644 (file)
index 0000000..5c26fce
--- /dev/null
@@ -0,0 +1,25 @@
+--- samba-3.0.0/source/include/includes.h.orig 2003-08-15 20:39:52.000000000 +0000
++++ samba-3.0.0/source/include/includes.h      2003-11-09 16:02:50.000000000 +0000
+@@ -351,8 +351,11 @@
+ #ifdef HAVE_SYS_CAPABILITY_H
+-#if defined(BROKEN_REDHAT_7_SYSTEM_HEADERS) && !defined(_I386_STATFS_H)
++#if defined(BROKEN_REDHAT_7_SYSTEM_HEADERS)
+ #define _I386_STATFS_H
++#define _ALPHA_STATFS_H
++#define _PPC_STATFS_H
++#define _SPARC_STATFS_H
+ #define BROKEN_REDHAT_7_STATFS_WORKAROUND
+ #endif
+@@ -360,6 +363,9 @@
+ #ifdef BROKEN_REDHAT_7_STATFS_WORKAROUND
+ #undef _I386_STATFS_H
++#undef _ALPHA_STATFS_H
++#undef _PPC_STATFS_H
++#undef _SPARC_STATFS_H
+ #undef BROKEN_REDHAT_7_STATFS_WORKAROUND
+ #endif
This page took 0.038166 seconds and 4 git commands to generate.