summaryrefslogtreecommitdiff
path: root/audio/easyh10
diff options
context:
space:
mode:
authorghen <ghen>2008-09-18 12:17:59 +0000
committerghen <ghen>2008-09-18 12:17:59 +0000
commit21fa3e2d38e6f6f0c26b14251955e53af2f9b6cf (patch)
treea72357bcaeba89b397ec1e2765162cc16d7ed104 /audio/easyh10
parent16dae97a4d778e3d48cc31421f1bb66d29d1c038 (diff)
downloadpkgsrc-21fa3e2d38e6f6f0c26b14251955e53af2f9b6cf.tar.gz
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 (limited to 'audio/easyh10')
-rw-r--r--audio/easyh10/Makefile4
-rw-r--r--audio/easyh10/distinfo3
-rw-r--r--audio/easyh10/patches/patch-aa17
3 files changed, 21 insertions, 3 deletions
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;
+ }
+