pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/clisp clisp: Remove iconv warning avoidance.
details: https://anonhg.NetBSD.org/pkgsrc/rev/6011e422e183
branches: trunk
changeset: 440858:6011e422e183
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Tue Oct 20 12:46:17 2020 +0000
description:
clisp: Remove iconv warning avoidance.
This breaks the build on Darwin when using pkgsrc libiconv.
diffstat:
lang/clisp/distinfo | 4 ++--
lang/clisp/patches/patch-src_stream.d | 25 ++++++++++++++++++-------
2 files changed, 20 insertions(+), 9 deletions(-)
diffs (51 lines):
diff -r fa8fc88d0c9a -r 6011e422e183 lang/clisp/distinfo
--- a/lang/clisp/distinfo Tue Oct 20 12:21:18 2020 +0000
+++ b/lang/clisp/distinfo Tue Oct 20 12:46:17 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.37 2019/11/02 17:02:56 rillig Exp $
+$NetBSD: distinfo,v 1.38 2020/10/20 12:46:17 jperkin Exp $
SHA1 (clisp-2.49.tar.gz) = 1743e7917013162400c955af441e991db43b3323
RMD160 (clisp-2.49.tar.gz) = ae30f3b681cb023e885c6e4ed12210ee5ba14c76
@@ -11,5 +11,5 @@
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_stream.d) = 0ae0af1cc4f87180a8c9fbc1d0a933a7600937c1
SHA1 (patch-src_unix.d) = 7158a2a18fd0f3a524658896b9b0abc98286c01e
diff -r fa8fc88d0c9a -r 6011e422e183 lang/clisp/patches/patch-src_stream.d
--- a/lang/clisp/patches/patch-src_stream.d Tue Oct 20 12:21:18 2020 +0000
+++ b/lang/clisp/patches/patch-src_stream.d Tue Oct 20 12:46:17 2020 +0000
@@ -1,13 +1,24 @@
-$NetBSD: patch-src_stream.d,v 1.1 2016/01/26 09:13:26 dbj Exp $
+$NetBSD: patch-src_stream.d,v 1.2 2020/10/20 12:46:17 jperkin Exp $
+
+Remove incomplete iconv handling, it doesn't work everywhere, and warnings
+are far preferable to errors.
--- 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
+@@ -3993,16 +3993,6 @@ global object iconv_range (object encodi
+ error_unencodable(encoding); */
nonreturning_function(extern, error_unencodable, (object encoding, chart ch));
- /* Avoid annoying warning caused by a wrongly standardized iconv() prototype. */
+-/* 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)
+- #undef iconv
+- #define iconv(cd,inbuf,inbytesleft,outbuf,outbytesleft) \
+- libiconv(cd,(ICONV_CONST char **)(inbuf),inbytesleft,outbuf,outbytesleft)
+-#else
+- #define iconv(cd,inbuf,inbytesleft,outbuf,outbytesleft) \
+- (iconv)(cd,(ICONV_CONST char **)(inbuf),inbytesleft,outbuf,outbytesleft)
+-#endif
+-
+ /* open the iconv conversion and signal errors when necessary
+ skip error when CHARSET is NULLOBJ
+ begin_system_call() must be called before this!!!
Home |
Main Index |
Thread Index |
Old Index