summaryrefslogtreecommitdiff
path: root/lang/clisp
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2018-01-29 17:38:23 +0000
committerjperkin <jperkin@pkgsrc.org>2018-01-29 17:38:23 +0000
commitbb74128906c0023b14eb149fe2a6bfcbd147a51f (patch)
treee3bc11a69953c7c698988bd337dd7762cf6313ea /lang/clisp
parent24476a5ce00548f45d76b60ef51f5ad10c7f4a40 (diff)
downloadpkgsrc-bb74128906c0023b14eb149fe2a6bfcbd147a51f.tar.gz
clisp: Fix SunOS/C99.
Diffstat (limited to 'lang/clisp')
-rw-r--r--lang/clisp/distinfo3
-rw-r--r--lang/clisp/patches/patch-src_intparam.c16
2 files changed, 18 insertions, 1 deletions
diff --git a/lang/clisp/distinfo b/lang/clisp/distinfo
index a9bbfa819c0..42b29f87cf8 100644
--- a/lang/clisp/distinfo
+++ b/lang/clisp/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.35 2016/09/20 14:14:08 wiz Exp $
+$NetBSD: distinfo,v 1.36 2018/01/29 17:38:23 jperkin Exp $
SHA1 (clisp-2.49.tar.gz) = 1743e7917013162400c955af441e991db43b3323
RMD160 (clisp-2.49.tar.gz) = ae30f3b681cb023e885c6e4ed12210ee5ba14c76
@@ -9,6 +9,7 @@ SHA1 (patch-ab) = 93aef2c423ce9e5eabebc20cdc144c83845b19cb
SHA1 (patch-ac) = c31fcd65d7d37aeaf69c0eee9499bff596b6619b
SHA1 (patch-modules_readline_readline.lisp) = 1463cb15f6a21374dffc0e585670ac89bb758ff3
SHA1 (patch-src_configure) = 861681456cb768b7f308aa88e77f1cee1edb2090
+SHA1 (patch-src_intparam.c) = f968079252691d06e191cf991bd43eea0a0bc739
SHA1 (patch-src_lispbibl.d) = 68eeac6def2d22ffb214fd8be3870d5c654f10bc
SHA1 (patch-src_stream.d) = 28bde27e99277d9df24028534c3b46e2099c460c
SHA1 (patch-src_unix.d) = 7158a2a18fd0f3a524658896b9b0abc98286c01e
diff --git a/lang/clisp/patches/patch-src_intparam.c b/lang/clisp/patches/patch-src_intparam.c
new file mode 100644
index 00000000000..a5f67d65c25
--- /dev/null
+++ b/lang/clisp/patches/patch-src_intparam.c
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_intparam.c,v 1.1 2018/01/29 17:38:23 jperkin Exp $
+
+Fix SunOS/C99.
+
+--- src/intparam.c.orig 2008-12-22 14:12:12.000000000 +0000
++++ src/intparam.c
+@@ -8,7 +8,9 @@
+ * zu verhindern, bei AIX 3.2.5 (rs6000-ibm-aix3.2.5) jedoch nicht. Wir
+ * müssen Gewalt anwenden.
+ */
++#if !defined(__sun) || (__STDC_VERSION__-0 < 199901L)
+ #define _POSIX_SOURCE
++#endif
+ #define uchar os_uchar
+ #define ushort os_ushort
+ #define uint os_uint