diff options
Diffstat (limited to 'sys-block/nbd/files/nbd-2.9.1-headers.patch')
-rw-r--r-- | sys-block/nbd/files/nbd-2.9.1-headers.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sys-block/nbd/files/nbd-2.9.1-headers.patch b/sys-block/nbd/files/nbd-2.9.1-headers.patch new file mode 100644 index 000000000000..c77b344c8ab3 --- /dev/null +++ b/sys-block/nbd/files/nbd-2.9.1-headers.patch @@ -0,0 +1,26 @@ +kernel headers fixes this so no point in hacking the crap out of userspace + +--- configure ++++ configure +@@ -7743,10 +7743,6 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ +-#define u32 int +-#define u64 int +-#define __be32 int +-#define __be64 int + #include "nbd.h" + + int +@@ -7803,10 +7803,6 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ +-#define u32 int +-#define u64 int +-#define __be32 int +-#define __be64 int + #include <linux/nbd.h> + + int |