pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/abiword NetBSD's iconv(3) doesn't understand "...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4a304a01870f
branches:  trunk
changeset: 539262:4a304a01870f
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Sun Mar 02 13:13:48 2008 +0000

description:
NetBSD's iconv(3) doesn't understand "UCS4", so use "UCS-4",
should fix copy-and-paste, reported by Andreas Burghardt in PR pkg/38133,
bump PKGREVISION

diffstat:

 editors/abiword/Makefile         |   4 ++--
 editors/abiword/distinfo         |   4 ++--
 editors/abiword/patches/patch-ab |  15 ++++++++++++++-
 3 files changed, 18 insertions(+), 5 deletions(-)

diffs (57 lines):

diff -r 866730794a6a -r 4a304a01870f editors/abiword/Makefile
--- a/editors/abiword/Makefile  Sun Mar 02 12:59:41 2008 +0000
+++ b/editors/abiword/Makefile  Sun Mar 02 13:13:48 2008 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.114 2008/01/18 05:06:31 tnn Exp $
+# $NetBSD: Makefile,v 1.115 2008/03/02 13:13:48 drochner Exp $
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
 .include "Makefile.common"
-PKGREVISION=   5
+PKGREVISION=   6
 
 COMMENT=       Open Source cross-platform word processor
 
diff -r 866730794a6a -r 4a304a01870f editors/abiword/distinfo
--- a/editors/abiword/distinfo  Sun Mar 02 12:59:41 2008 +0000
+++ b/editors/abiword/distinfo  Sun Mar 02 13:13:48 2008 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.57 2007/11/29 02:49:11 rillig Exp $
+$NetBSD: distinfo,v 1.58 2008/03/02 13:13:48 drochner Exp $
 
 SHA1 (abiword-2.4.6.tar.bz2) = 3011d221d09336f09f4bb0732add3405961a8623
 RMD160 (abiword-2.4.6.tar.bz2) = ca56800d811b3aca0af6b2fb6cd70cbea29ab792
 Size (abiword-2.4.6.tar.bz2) = 24994889 bytes
 SHA1 (patch-aa) = b305b8a5dcf16c76e4bc858b6b484592b68aaca1
-SHA1 (patch-ab) = 94191b278b6c5d0a37231efde9dc11097d6c1590
+SHA1 (patch-ab) = 45f222f9c2918379d7190b1c8b523966285fb3a5
 SHA1 (patch-ac) = 8fe244939c96a322a4db61463b8f66af0fc61e35
 SHA1 (patch-ad) = c3191d8e0e510708d9ab22ee9c6d28a655e031c5
 SHA1 (patch-af) = d3fe1c03fe80648afb729b3dbc4721c413220a0d
diff -r 866730794a6a -r 4a304a01870f editors/abiword/patches/patch-ab
--- a/editors/abiword/patches/patch-ab  Sun Mar 02 12:59:41 2008 +0000
+++ b/editors/abiword/patches/patch-ab  Sun Mar 02 13:13:48 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.14 2006/01/17 08:07:38 adam Exp $
+$NetBSD: patch-ab,v 1.15 2008/03/02 13:13:48 drochner Exp $
 
 --- src/af/util/xp/ut_iconv.cpp.orig   2005-10-08 12:53:33.000000000 +0200
 +++ src/af/util/xp/ut_iconv.cpp
@@ -12,3 +12,16 @@
  
  #define ICONV_CONST const
  #else
+@@ -290,9 +291,11 @@ const char * ucs4Internal ()
+ #elif defined(_LIBICONV_H)
+   // libiconv seems to prefer UCS-4-INTERNAL to UCS-4BE and UCS-4LE
+   return "UCS-4-INTERNAL";
+-#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
++#elif defined(__FreeBSD__) || defined(__OpenBSD__)
+   // we special case the BSDs since spelling just doesn't work
+   return "UCS4";
++#elif defined(__NetBSD__)
++  return "UCS-4";
+ #else
+   // general case, found by hub and dom
+       if (s_ucs4_internal == 0) 



Home | Main Index | Thread Index | Old Index