pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/mikmod Fix mikmod option parsing using patch pro...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e802da5aca6e
branches:  trunk
changeset: 482016:e802da5aca6e
user:      ben <ben%pkgsrc.org@localhost>
date:      Mon Oct 18 02:32:14 2004 +0000

description:
Fix mikmod option parsing using patch provided by David Holland in
PR#27280.

diffstat:

 audio/mikmod/distinfo         |   4 ++--
 audio/mikmod/patches/patch-aa |  16 ++++++++--------
 2 files changed, 10 insertions(+), 10 deletions(-)

diffs (36 lines):

diff -r 237149f5f881 -r e802da5aca6e audio/mikmod/distinfo
--- a/audio/mikmod/distinfo     Mon Oct 18 02:15:23 2004 +0000
+++ b/audio/mikmod/distinfo     Mon Oct 18 02:32:14 2004 +0000
@@ -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 -r 237149f5f881 -r e802da5aca6e audio/mikmod/patches/patch-aa
--- a/audio/mikmod/patches/patch-aa     Mon Oct 18 02:15:23 2004 +0000
+++ b/audio/mikmod/patches/patch-aa     Mon Oct 18 02:32:14 2004 +0000
@@ -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) {



Home | Main Index | Thread Index | Old Index