summary refs log tree commit diff
path: root/gnu/packages/patches/clisp-glibc-2.26.patch
diff options
context:
space:
mode:
authorKei Kebreau <kkebreau@posteo.net>2018-01-20 15:42:00 -0500
committerKei Kebreau <kkebreau@posteo.net>2018-01-20 21:48:47 -0500
commit75033216ea9f7583d113e999f7b8ce30bbef2bca (patch)
tree176e6c39d924e677c631bea78acbd868450cc7ca /gnu/packages/patches/clisp-glibc-2.26.patch
parent7c291296955ed926377810cb61e251a808f98717 (diff)
downloadguix-75033216ea9f7583d113e999f7b8ce30bbef2bca.tar.gz
gnu: clisp: Fix build with glibc 2.26.
* gnu/packages/patches/clisp-glibc-2.26.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/lisp.scm (clisp)[source]: Use it.
Diffstat (limited to 'gnu/packages/patches/clisp-glibc-2.26.patch')
-rw-r--r--gnu/packages/patches/clisp-glibc-2.26.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/patches/clisp-glibc-2.26.patch b/gnu/packages/patches/clisp-glibc-2.26.patch
new file mode 100644
index 0000000000..c8920ceccc
--- /dev/null
+++ b/gnu/packages/patches/clisp-glibc-2.26.patch
@@ -0,0 +1,20 @@
+This patch comes from Debian.
+
+Description: cfree is not present in glibc-2.26, stop wrapping it
+Author: Adam Conrad <adconrad@ubuntu.com>
+Bug: https://sourceforge.net/p/clisp/bugs/717/
+Bug-Debian: https://bugs.debian.org/880686
+Applied-Upstream: https://sourceforge.net/p/clisp/clisp/ci/3bc928712d150ff1e5f6b2bfb7838655f3ff52fa/
+Reviewed-By: Sébastien Villemot <sebastien@debian.org>
+Last-Update: 2017-11-27
+
+--- clisp-2.49.20170913.orig/modules/bindings/glibc/linux.lisp
++++ clisp-2.49.20170913/modules/bindings/glibc/linux.lisp
+@@ -649,7 +649,6 @@
+ (def-call-out calloc (:arguments (nmemb size_t) (size size_t))
+   (:return-type c-pointer))
+ (def-call-out free (:arguments (ptr c-pointer)) (:return-type nil))
+-(def-call-out cfree (:arguments (ptr c-pointer)) (:return-type nil))
+ (def-call-out valloc (:arguments (size size_t)) (:return-type c-pointer))
+ 
+ (def-call-out abort (:arguments) (:return-type nil))