pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/abiword Back out the last patch, which removed...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d494e4b2cdb5
branches:  trunk
changeset: 463282:d494e4b2cdb5
user:      fredb <fredb%pkgsrc.org@localhost>
date:      Tue Nov 04 20:57:29 2003 +0000

description:
Back out the last patch, which removed the conditional const-poisoning,
but rather, make it work. The "const" wasn't be-ing put in for either
NetBSD-current's or pkgsrc's libiconv, but both need it. This should close
PR pkg/23368.

diffstat:

 editors/abiword/distinfo         |   4 ++--
 editors/abiword/patches/patch-ac |  27 ++++++++++++++-------------
 2 files changed, 16 insertions(+), 15 deletions(-)

diffs (48 lines):

diff -r 8d054b00d360 -r d494e4b2cdb5 editors/abiword/distinfo
--- a/editors/abiword/distinfo  Tue Nov 04 20:57:11 2003 +0000
+++ b/editors/abiword/distinfo  Tue Nov 04 20:57:29 2003 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.20 2003/09/26 14:31:40 fredb Exp $
+$NetBSD: distinfo,v 1.21 2003/11/04 20:57:29 fredb Exp $
 
 SHA1 (abisuite/abiword-1.0.5.tar.gz) = 29292d858dd361bd4ad10c98c32c5b8b5941110d
 Size (abisuite/abiword-1.0.5.tar.gz) = 18966097 bytes
 SHA1 (patch-ab) = 31f61d0a855db4dd9d3fa2c2ab1bae31fb03c636
-SHA1 (patch-ac) = 4b07508d1183a17b7659c1c67f62d69646bd4565
+SHA1 (patch-ac) = 8a4acdb50c024b747da2ac55945e2efc9ab6dee5
 SHA1 (patch-ad) = 1b1cdab98c9b58b5395e0a43169fa54cac819b04
 SHA1 (patch-ae) = a8fbe68e56bed6881329632bb12173cb67b8d750
 SHA1 (patch-af) = 9bf0cb3abe338b7021acbf771b34b55bb7edcbae
diff -r 8d054b00d360 -r d494e4b2cdb5 editors/abiword/patches/patch-ac
--- a/editors/abiword/patches/patch-ac  Tue Nov 04 20:57:11 2003 +0000
+++ b/editors/abiword/patches/patch-ac  Tue Nov 04 20:57:29 2003 +0000
@@ -1,15 +1,16 @@
-$NetBSD: patch-ac,v 1.8 2003/09/26 14:31:40 fredb Exp $
+$NetBSD: patch-ac,v 1.9 2003/11/04 20:57:29 fredb Exp $
 
---- src/af/util/xp/ut_iconv.cpp.orig   2002-04-24 14:49:23.000000000 -0500
-+++ src/af/util/xp/ut_iconv.cpp
-@@ -159,8 +159,8 @@ size_t  UT_iconv( UT_iconv_t cd, const c
-   if ( !UT_iconv_isValid ( cd ) )
-     return (size_t)-1;
+--- src/af/util/xp/ut_types.h.orig     2002-03-20 11:44:26.000000000 -0600
++++ src/af/util/xp/ut_types.h
+@@ -242,7 +242,10 @@ ABI_EXPORT void * UT_calloc ( UT_uint32 
+ (defined (__MACH__) && defined (__APPLE__)) || \
+ (defined(TARGET_OS_MAC) && TARGET_OS_MAC) || \
+ defined(__BEOS__) || defined (__AIX__) || \
+-(defined(__linux__) && defined(__powerpc__) && (__GLIBC__ <= 2) && (__GLIBC_MINOR__ <= 1))
++(defined(__linux__) && defined(__powerpc__) && (__GLIBC__ <= 2) && (__GLIBC_MINOR__ <= 1)) || \
++defined(__NetBSD__) || \
++(defined(_LIBICONV_VERSION) && _LIBICONV_VERSION >= 0x0109)
++
  
--  ICONV_CONST char ** buf = (ICONV_CONST char**)(inbuf);
--  return iconv( cd, buf, inbytesleft, outbuf, outbytesleft );
-+  // ICONV_CONST char ** buf = (ICONV_CONST char**)(inbuf);
-+  return iconv( cd, inbuf, inbytesleft, outbuf, outbytesleft );
- }
- 
- int  UT_iconv_close( UT_iconv_t cd )
+ #define ICONV_CONST const
+ #else



Home | Main Index | Thread Index | Old Index