pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/easyh10 Avoid dependency on GNU iconv by using s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0bff18e7b7bf
branches:  trunk
changeset: 547504:0bff18e7b7bf
user:      ghen <ghen%pkgsrc.org@localhost>
date:      Thu Sep 18 12:17:59 2008 +0000

description:
Avoid dependency on GNU iconv by using standard names for encodings (instead
of GNUisms).  NetBSD 4.0 supports the alternative names though, so this patch
could be removed later.  Bump PKGREVISION.

diffstat:

 audio/easyh10/Makefile         |   4 ++--
 audio/easyh10/distinfo         |   3 ++-
 audio/easyh10/patches/patch-aa |  17 +++++++++++++++++
 3 files changed, 21 insertions(+), 3 deletions(-)

diffs (52 lines):

diff -r 9c2d60f8c77d -r 0bff18e7b7bf audio/easyh10/Makefile
--- a/audio/easyh10/Makefile    Thu Sep 18 11:55:17 2008 +0000
+++ b/audio/easyh10/Makefile    Thu Sep 18 12:17:59 2008 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2008/01/04 18:08:34 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2008/09/18 12:17:59 ghen Exp $
 
 DISTNAME=              easyh10-1.5
+PKGREVISION=           1
 CATEGORIES=            audio
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=easyh10/}
 
@@ -11,7 +12,6 @@
 PKG_DESTDIR_SUPPORT=   user-destdir
 
 USE_TOOLS+=            gmake
-USE_GNU_ICONV=         yes
 
 GNU_CONFIGURE=         yes
 
diff -r 9c2d60f8c77d -r 0bff18e7b7bf audio/easyh10/distinfo
--- a/audio/easyh10/distinfo    Thu Sep 18 11:55:17 2008 +0000
+++ b/audio/easyh10/distinfo    Thu Sep 18 12:17:59 2008 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2006/11/29 16:59:57 ghen Exp $
+$NetBSD: distinfo,v 1.3 2008/09/18 12:17:59 ghen Exp $
 
 SHA1 (easyh10-1.5.tar.gz) = 2d6dd78f23829b6e2d21e3362a8eafd651597f19
 RMD160 (easyh10-1.5.tar.gz) = 87893bbcf595f928ba94fcde3b2b2c16b2e09c76
 Size (easyh10-1.5.tar.gz) = 406548 bytes
+SHA1 (patch-aa) = 774606669a087113c6084f964170f2948448fb60
diff -r 9c2d60f8c77d -r 0bff18e7b7bf audio/easyh10/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/easyh10/patches/patch-aa    Thu Sep 18 12:17:59 2008 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1 2008/09/18 12:17:59 ghen Exp $
+
+Use standard names for encodings to avoid dependency on GNU iconv on NetBSD 3.
+
+--- libucs2/ucs2char_iconv.c.orig      2006-07-27 03:42:35.000000000 +0200
++++ libucs2/ucs2char_iconv.c
+@@ -69,8 +69,8 @@ static int is_bigendian(void)
+ 
+ static const char *get_ucs2encoding(void)
+ {
+-      static const char *unicode_big = "UNICODEBIG";
+-      static const char *unicode_little = "UNICODELITTLE";
++      static const char *unicode_big = "UCS-2BE";
++      static const char *unicode_little = "UCS-2LE";
+       return is_bigendian() ? unicode_big : unicode_little;
+ }
+ 



Home | Main Index | Thread Index | Old Index