summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lisp/sbcl/files/gentoo-fix_linux-os-c.patch')
-rw-r--r--dev-lisp/sbcl/files/gentoo-fix_linux-os-c.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-lisp/sbcl/files/gentoo-fix_linux-os-c.patch b/dev-lisp/sbcl/files/gentoo-fix_linux-os-c.patch
new file mode 100644
index 000000000000..cabfafe6e45e
--- /dev/null
+++ b/dev-lisp/sbcl/files/gentoo-fix_linux-os-c.patch
@@ -0,0 +1,13 @@
+--- a/src/runtime/linux-os.c 2009-05-01 13:30:51.000000000 +0300
++++ b/src/runtime/linux-os.c 2010-03-24 02:30:48.000000000 +0200
+@@ -56,11 +56,7 @@
+ #include "cheneygc-internal.h"
+ #endif
+
+-#ifdef LISP_FEATURE_X86
+-/* Prototype for personality(2). Done inline here since the header file
+- * for this isn't available on old versions of glibc. */
+ int personality (unsigned long);
+-#endif
+
+ size_t os_vm_page_size;