[packages/clisp] - rename glibc patch - add glibc fix from http://comments.gmane.org/gmane.comp.lib.glibc.alpha/25618
baggins
baggins at pld-linux.org
Tue Dec 3 12:22:21 CET 2013
commit b8509756407bf850ad0d4063832cc15aa3cdf564
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Dec 3 12:10:41 2013 +0100
- rename glibc patch
- add glibc fix from http://comments.gmane.org/gmane.comp.lib.glibc.alpha/25618
- updated error codes (hunk from fedora)
clisp-glibc.patch | 29 +++++++++++++++++++++++++++++
clisp-glibc2.16.patch | 11 -----------
clisp.spec | 2 +-
3 files changed, 30 insertions(+), 12 deletions(-)
---
diff --git a/clisp.spec b/clisp.spec
index 885eb08..c7d8bc1 100644
--- a/clisp.spec
+++ b/clisp.spec
@@ -16,7 +16,7 @@ Source0: http://download.sourceforge.net/clisp/%{name}-%{version}.tar.bz2
# Source0-md5: 1962b99d5e530390ec3829236d168649
Patch0: %{name}-shell.patch
Patch1: %{name}-alpha.patch
-Patch2: %{name}-glibc2.16.patch
+Patch2: %{name}-glibc.patch
URL: http://clisp.cons.org/
BuildRequires: ffcall-devel
BuildRequires: gettext-devel
diff --git a/clisp-glibc.patch b/clisp-glibc.patch
new file mode 100644
index 0000000..12b6238
--- /dev/null
+++ b/clisp-glibc.patch
@@ -0,0 +1,29 @@
+--- clisp-2.49/modules/bindings/glibc/linux.lisp~ 2008-10-08 18:36:19.000000000 +0200
++++ clisp-2.49/modules/bindings/glibc/linux.lisp 2012-12-12 12:50:41.830606483 +0100
+@@ -67,7 +66,7 @@
+ (def-c-type __daddr_t) ; int
+ (def-c-type __caddr_t) ; c-pointer
+ (def-c-type __time_t) ; long
+-(def-c-type __swblk_t) ; long
++;;(def-c-type __swblk_t) ; long
+
+ (def-c-type __fd_mask ulong)
+ (eval-when (load compile eval)
+@@ -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> -----------------------------------
+@@ -294,6 +294,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> -----------------------------------
+
diff --git a/clisp-glibc2.16.patch b/clisp-glibc2.16.patch
deleted file mode 100644
index 7e788d1..0000000
--- a/clisp-glibc2.16.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- clisp-2.49/modules/bindings/glibc/linux.lisp~ 2008-10-08 18:36:19.000000000 +0200
-+++ clisp-2.49/modules/bindings/glibc/linux.lisp 2012-12-12 12:50:41.830606483 +0100
-@@ -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> -----------------------------------
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/clisp.git/commitdiff/b8509756407bf850ad0d4063832cc15aa3cdf564
More information about the pld-cvs-commit
mailing list