diff options
author | dbj <dbj@pkgsrc.org> | 2016-01-26 09:13:26 +0000 |
---|---|---|
committer | dbj <dbj@pkgsrc.org> | 2016-01-26 09:13:26 +0000 |
commit | 94531db7cd11b68b2c03c95e2a8ec95428b0031e (patch) | |
tree | 73a98af918e7712e4030680aa4f5e8594886cb51 | |
parent | bd7cab6e005d98b82bdc764d5086b513d74bb18c (diff) | |
download | pkgsrc-94531db7cd11b68b2c03c95e2a8ec95428b0031e.tar.gz |
fix minor compile problem on __APPLE__
-rw-r--r-- | lang/clisp/distinfo | 3 | ||||
-rw-r--r-- | lang/clisp/patches/patch-src_stream.d | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/lang/clisp/distinfo b/lang/clisp/distinfo index f882632d4f9..0c74f37d741 100644 --- a/lang/clisp/distinfo +++ b/lang/clisp/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.31 2015/12/29 23:34:45 dholland Exp $ +$NetBSD: distinfo,v 1.32 2016/01/26 09:13:26 dbj Exp $ SHA1 (clisp-2.49.tar.gz) = 1743e7917013162400c955af441e991db43b3323 RMD160 (clisp-2.49.tar.gz) = ae30f3b681cb023e885c6e4ed12210ee5ba14c76 @@ -9,3 +9,4 @@ SHA1 (patch-ab) = 93aef2c423ce9e5eabebc20cdc144c83845b19cb SHA1 (patch-ac) = c31fcd65d7d37aeaf69c0eee9499bff596b6619b SHA1 (patch-src_configure) = 861681456cb768b7f308aa88e77f1cee1edb2090 SHA1 (patch-src_lispbibl.d) = 68eeac6def2d22ffb214fd8be3870d5c654f10bc +SHA1 (patch-src_stream.d) = 28bde27e99277d9df24028534c3b46e2099c460c diff --git a/lang/clisp/patches/patch-src_stream.d b/lang/clisp/patches/patch-src_stream.d new file mode 100644 index 00000000000..52b9c34a666 --- /dev/null +++ b/lang/clisp/patches/patch-src_stream.d @@ -0,0 +1,13 @@ +$NetBSD: patch-src_stream.d,v 1.1 2016/01/26 09:13:26 dbj Exp $ + +--- src/stream.d.orig 2010-07-06 14:21:51.000000000 +0000 ++++ src/stream.d +@@ -3994,7 +3994,7 @@ global object iconv_range (object encodi + nonreturning_function(extern, error_unencodable, (object encoding, chart ch)); + + /* Avoid annoying warning caused by a wrongly standardized iconv() prototype. */ +-#ifdef GNU_LIBICONV ++#if defined(GNU_LIBICONV) && !defined(__APPLE__) + #undef iconv + #define iconv(cd,inbuf,inbytesleft,outbuf,outbytesleft) \ + libiconv(cd,(ICONV_CONST char **)(inbuf),inbytesleft,outbuf,outbytesleft) |