summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lisp/clisp/files/2.34/glibc-linux.lisp-sigpause-gentoo.patch')
-rw-r--r--dev-lisp/clisp/files/2.34/glibc-linux.lisp-sigpause-gentoo.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-lisp/clisp/files/2.34/glibc-linux.lisp-sigpause-gentoo.patch b/dev-lisp/clisp/files/2.34/glibc-linux.lisp-sigpause-gentoo.patch
new file mode 100644
index 000000000000..e7f6dd69a786
--- /dev/null
+++ b/dev-lisp/clisp/files/2.34/glibc-linux.lisp-sigpause-gentoo.patch
@@ -0,0 +1,15 @@
+diff -U4 --recursive clisp-2.34-orig/modules/bindings/glibc/linux.lisp clisp-2.34/modules/bindings/glibc/linux.lisp
+--- clisp-2.34-orig/modules/bindings/glibc/linux.lisp 2004-07-27 11:51:00.403973848 -0400
++++ clisp-2.34/modules/bindings/glibc/linux.lisp 2004-07-27 11:51:39.937963768 -0400
+@@ -34,8 +34,11 @@
+ (def-c-type ulonglong uint64)
+ (define-modify-macro orf () logior)
+ (define-modify-macro andf () logand)
+
++; Needed to choose sigpause version
++(c-lines "#define __FAVOR_BSD~%~%")
++
+ ; ============================= <stddef.h> ====================================
+
+ (c-lines "#include <stddef.h>~%")
+