diff options
Diffstat (limited to 'debian/patches/eglibc-2.17.patch')
-rw-r--r-- | debian/patches/eglibc-2.17.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/debian/patches/eglibc-2.17.patch b/debian/patches/eglibc-2.17.patch new file mode 100644 index 0000000..dc715e3 --- /dev/null +++ b/debian/patches/eglibc-2.17.patch @@ -0,0 +1,31 @@ +Description: Fix build with eglibc 2.17 + With eglibc2.17 the build failed with a couple of errors + . + The first error was + #error "Never use <bits/ipctypes.h> directly; include <sys/ipc.h> instead." + So after working out where linux.c was generated from I made the change + suggested in the error message. + . + The second error was + linux.c:613:47: error: '__swblk_t' undeclared (first use in this function) + After some googling I found the advice at + http://sourceforge.net/mailarchive/message.php?msg_id=30446182 and removed + which suggested removing it was the only sane option. Looking at the fact + that glibc defined it differently on different platforms i'm inclined to agree + and have removed it. +Author: Peter Michael Green <plugwash@debian.org> +Bug-Debian: http://bugs.debian.org/701379 + +diff --git a/modules/bindings/glibc/linux.lisp b/modules/bindings/glibc/linux.lisp +index 1737032..c960753 100644 +--- a/modules/bindings/glibc/linux.lisp ++++ b/modules/bindings/glibc/linux.lisp +@@ -87,7 +87,7 @@ + + (def-c-type __key_t) ; int + +-(c-lines "#include <bits/ipctypes.h>~%") ++(c-lines "#include <sys/ipc.h>~%") + (def-c-type __ipc_pid_t) ; ushort + + ; --------------------------- <sys/types.h> ----------------------------------- |