Subject: pkg/27280: audio/mikmod ignores command-line options
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <dholland@eecs.harvard.edu>
List: pkgsrc-bugs
Date: 10/17/2004 04:39:01
>Number:         27280
>Category:       pkg
>Synopsis:       audio/mikmod ignores command-line options
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 17 08:57:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     David A. Holland <dholland@eecs.harvard.edu>
>Release:        NetBSD 2.0G
>Organization:
Harvard EECS
>Environment:
System: NetBSD alicante 2.0G NetBSD 2.0G (ALICANTE) #9: Fri Aug 27 17:49:09 EDT 2004 dholland@alicante:/usr/src/sys/arch/i386/compile/ALICANTE i386
Architecture: i386
Machine: i386
>Description:

	mikmod ignores some or all of its command-line switches.

>How-To-Repeat:

	mikmod -h
	(does not print the usage message)

>Fix:

	patch-aa is broken and circumvents option processing.
	replace with this patch instead:


$NetBSD$

--- src/mikmod.c.orig	1999-08-01 23:59:23.000000000 -0400
+++ src/mikmod.c	2004-10-17 03:27:57.000000000 -0400
@@ -561,7 +561,7 @@
 #if defined(__OS2__)||defined(__EMX__)
 	      >=0
 #else
-	      !=ERR
+	      != -1
 #endif
 		) {
 		switch (t) {

>Release-Note:
>Audit-Trail:
>Unformatted: