summaryrefslogtreecommitdiff
path: root/audio/mikmod
diff options
context:
space:
mode:
authorben <ben@pkgsrc.org>2004-10-18 02:32:14 +0000
committerben <ben@pkgsrc.org>2004-10-18 02:32:14 +0000
commitebc609a74529a34bc112000a662de168964116da (patch)
tree6196a18b1fc43feef00e5fe7176d21eb58bd5eed /audio/mikmod
parentae5f9d2fe63228ceac38b01357ae19874fe66587 (diff)
downloadpkgsrc-ebc609a74529a34bc112000a662de168964116da.tar.gz
Fix mikmod option parsing using patch provided by David Holland in
PR#27280.
Diffstat (limited to 'audio/mikmod')
-rw-r--r--audio/mikmod/distinfo4
-rw-r--r--audio/mikmod/patches/patch-aa16
2 files changed, 10 insertions, 10 deletions
diff --git a/audio/mikmod/distinfo b/audio/mikmod/distinfo
index 80dc1555344..ed91b9e76f0 100644
--- a/audio/mikmod/distinfo
+++ b/audio/mikmod/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2001/04/18 12:14:35 agc Exp $
+$NetBSD: distinfo,v 1.3 2004/10/18 02:32:14 ben Exp $
SHA1 (mikmod-3.1.6-a.tar.gz) = 240f85b1f7c91a14cddcb45931426c3bcf5c7703
Size (mikmod-3.1.6-a.tar.gz) = 135187 bytes
-SHA1 (patch-aa) = 6c2a0cab092e15818c6eaa8a8381ca55da178a89
+SHA1 (patch-aa) = 120d98942ebea90b8099e9d81005e5072ca78c4e
diff --git a/audio/mikmod/patches/patch-aa b/audio/mikmod/patches/patch-aa
index 91fc9110071..5fe2e33b56a 100644
--- a/audio/mikmod/patches/patch-aa
+++ b/audio/mikmod/patches/patch-aa
@@ -1,13 +1,13 @@
-$NetBSD: patch-aa,v 1.3 2001/01/07 02:47:03 wiz Exp $
+$NetBSD: patch-aa,v 1.4 2004/10/18 02:32:14 ben Exp $
---- src/mikmod.c.orig Mon Aug 2 05:59:23 1999
+--- src/mikmod.c.orig Sun Aug 1 20:59:23 1999
+++ src/mikmod.c
-@@ -557,7 +557,7 @@
- /* Parse commandline */
- opterr=0;
- while ((t=getopt_long_only(argc,argv,
-- "d:o:f:r:v:p:i:F:l:a:x:c:t:s:S:qnVh",options,NULL))
-+ "d:o:f:r:v:p:i:F:l:a:x:c:t:s:S:qnVh",options,NULL) != -1)
+@@ -561,7 +561,7 @@ int main(int argc,char *argv[])
#if defined(__OS2__)||defined(__EMX__)
>=0
#else
+- !=ERR
++ !=-1
+ #endif
+ ) {
+ switch (t) {