pkgsrc/audio/mp3blaster/patches/patch-ap
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

16 lines
406 B
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

$NetBSD: patch-ap,v 1.1 2003/09/30 09:44:00 cube Exp $
--- getopt/getopt1.c.orig 2003-09-29 23:28:19.000000000 +0200
+++ getopt/getopt1.c
@@ -17,10 +17,10 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#ifndef HAVE_GETOPT_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
+#ifndef HAVE_GETOPT_LONG_ONLY
#include "getopt.h"