pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/abiword patch-ab rewritten as it should be :]



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cb54c7362190
branches:  trunk
changeset: 492216:cb54c7362190
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Apr 07 07:52:21 2005 +0000

description:
patch-ab rewritten as it should be :]

diffstat:

 editors/abiword/distinfo         |   4 ++--
 editors/abiword/patches/patch-ab |  21 +++++++++++----------
 2 files changed, 13 insertions(+), 12 deletions(-)

diffs (43 lines):

diff -r 8b66b667a8f5 -r cb54c7362190 editors/abiword/distinfo
--- a/editors/abiword/distinfo  Thu Apr 07 07:44:21 2005 +0000
+++ b/editors/abiword/distinfo  Thu Apr 07 07:52:21 2005 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.39 2005/04/04 15:33:30 adam Exp $
+$NetBSD: distinfo,v 1.40 2005/04/07 07:52:21 adam Exp $
 
 SHA1 (abiword-2.2.6.tar.bz2) = c653db8e263a121588751b11f797b450979760f6
 RMD160 (abiword-2.2.6.tar.bz2) = c8ddc28301b64e995f188b7251911f120fec5ce9
 Size (abiword-2.2.6.tar.bz2) = 23895455 bytes
 SHA1 (patch-aa) = e54908d64747a3fc78e13036ebbd909b2b1b64aa
-SHA1 (patch-ab) = 5957635eb05d4b6f9d623c8585ae252d9c484408
+SHA1 (patch-ab) = 927cbe95f5ea892d57ead96938d631ee1ad2c9a3
 SHA1 (patch-ad) = c3191d8e0e510708d9ab22ee9c6d28a655e031c5
 SHA1 (patch-ae) = 5eab37824f36bfd21238d5cd11507062ac8dccdb
diff -r 8b66b667a8f5 -r cb54c7362190 editors/abiword/patches/patch-ab
--- a/editors/abiword/patches/patch-ab  Thu Apr 07 07:44:21 2005 +0000
+++ b/editors/abiword/patches/patch-ab  Thu Apr 07 07:52:21 2005 +0000
@@ -1,13 +1,14 @@
-$NetBSD: patch-ab,v 1.10 2005/01/11 11:09:27 adam Exp $
+$NetBSD: patch-ab,v 1.11 2005/04/07 07:52:21 adam Exp $
 
---- src/af/util/xp/ut_iconv.cpp.orig   2004-11-22 10:42:04.000000000 +0000
+--- src/af/util/xp/ut_iconv.cpp.orig   2004-09-17 03:02:57.000000000 +0000
 +++ src/af/util/xp/ut_iconv.cpp
-@@ -339,7 +339,7 @@ size_t UT_iconv( UT_iconv_t cd, const ch
- #ifdef UT_ICONV_USING_GLIB
-   return g_iconv((GIConv)cd, (char **)inbuf, inbytesleft, outbuf, outbytesleft);
+@@ -68,7 +68,8 @@ extern "C" {
+ (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)
+ 
+ #define ICONV_CONST const
  #else
--  return iconv( (iconv_t)cd, (ICONV_CONST char **)inbuf, inbytesleft, outbuf, outbytesleft );
-+  return iconv( (iconv_t)cd, (const char **)inbuf, inbytesleft, outbuf, outbytesleft );
- #endif
- }
- 



Home | Main Index | Thread Index | Old Index