Accepting request 129385 from devel:languages:misc

Fix build with glibc 2.16 (clisp-linux.patch taken from Fedora). (forwarded request 129132 from a_jaeger)

OBS-URL: https://build.opensuse.org/request/show/129385
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/clisp?expand=0&rev=29
This commit is contained in:
Stephan Kulow 2012-07-31 11:29:26 +00:00 committed by Git OBS Bridge
commit d5a89a6178
3 changed files with 27 additions and 0 deletions

20
clisp-linux.patch Normal file
View File

@ -0,0 +1,20 @@
--- ./modules/bindings/glibc/linux.lisp.orig 2008-10-08 10:36:19.000000000 -0600
+++ ./modules/bindings/glibc/linux.lisp 2012-07-25 19:05:07.014592097 -0600
@@ -86,7 +86,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> -----------------------------------
@@ -293,6 +293,8 @@
;; for robust mutexes
(def-c-const EOWNERDEAD (:documentation "Owner died")) ; 130
(def-c-const ENOTRECOVERABLE (:documentation "State not recoverable")) ; 131
+(def-c-const ERFKILL (:documentation "Operation not possible due to RF-kill")) ; 132
+(def-c-const EHWPOISON (:documentation "Memory page has hardware error")) ; 133
; -------------------------- <bits/errno.h> -----------------------------------

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 27 20:10:16 UTC 2012 - aj@suse.de
- Fix build with glibc 2.16 (clisp-linux.patch taken from Fedora).
-------------------------------------------------------------------
Fri Jul 13 06:43:29 UTC 2012 - adrian@suse.de

View File

@ -62,6 +62,7 @@ Patch7: clisp-2.39-ia64-wooh.dif
Patch8: clisp-2.39-clx.dif
Patch10: ffcall-1.10+2.43.dif
Patch11: fix-build-in-qemu.patch
Patch12: clisp-linux.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global vimdir %{_datadir}/vim/site/after/syntax
%global xarch ppc64 s390x armv4l
@ -107,6 +108,7 @@ contains two nice applications.
# qemu does not support stack overflows well ;)
%patch11 -p0 -b .qemu
%endif
%patch12 -p0
%build
#