From 21fa3e2d38e6f6f0c26b14251955e53af2f9b6cf Mon Sep 17 00:00:00 2001 From: ghen Date: Thu, 18 Sep 2008 12:17:59 +0000 Subject: 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. --- audio/easyh10/Makefile | 4 ++-- audio/easyh10/distinfo | 3 ++- audio/easyh10/patches/patch-aa | 17 +++++++++++++++++ 3 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 audio/easyh10/patches/patch-aa (limited to 'audio') diff --git a/audio/easyh10/Makefile b/audio/easyh10/Makefile index 470d4117dca..49d9d8d9d73 100644 --- a/audio/easyh10/Makefile +++ b/audio/easyh10/Makefile @@ -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 @@ COMMENT= Database tool for the iRiver H10 digital audio player PKG_DESTDIR_SUPPORT= user-destdir USE_TOOLS+= gmake -USE_GNU_ICONV= yes GNU_CONFIGURE= yes diff --git a/audio/easyh10/distinfo b/audio/easyh10/distinfo index 3b3d3a74074..fb9beed4021 100644 --- a/audio/easyh10/distinfo +++ b/audio/easyh10/distinfo @@ -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 --git a/audio/easyh10/patches/patch-aa b/audio/easyh10/patches/patch-aa new file mode 100644 index 00000000000..fba0a5cf925 --- /dev/null +++ b/audio/easyh10/patches/patch-aa @@ -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; + } + -- cgit v1.2.3