pkgsrc/audio/mp3blaster/patches/patch-af
cube 8dd0cfbe7b Make this correctly compile with gcc3, by reorganizing the way it pulls
up getop_long_only implementation. Patch sent to the author.

Ok'd by seb@.
2003-09-30 09:43:59 +00:00

17 lines
384 B
Text

$NetBSD: patch-af,v 1.1 2003/09/30 09:44:00 cube Exp $
--- nmixer/main.cc.orig 2002-10-20 16:12:09.000000000 +0200
+++ nmixer/main.cc
@@ -4,10 +4,10 @@
#include "nmixer.h"
#include <string.h>
#include <stdlib.h>
-#ifdef HAVE_GETOPT_H
+#ifdef HAVE_GETOPT_LONG_ONLY
# include <getopt.h>
#else
-# include "getopt.h"
+# include "../getopt/getopt.h"
#endif
#ifdef __cplusplus