diff options
Diffstat (limited to 'audio/mp3blaster/patches/patch-aj')
-rw-r--r-- | audio/mp3blaster/patches/patch-aj | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/audio/mp3blaster/patches/patch-aj b/audio/mp3blaster/patches/patch-aj new file mode 100644 index 00000000000..18b7672afcc --- /dev/null +++ b/audio/mp3blaster/patches/patch-aj @@ -0,0 +1,31 @@ +$NetBSD: patch-aj,v 1.1 2003/09/30 09:44:00 cube Exp $ + +--- getopt/getopt.h.orig 2003-09-29 14:28:05.000000000 +0200 ++++ getopt/getopt.h +@@ -97,6 +97,7 @@ struct option + #define optional_argument 2 + + #if defined (__STDC__) && __STDC__ ++#if 0 + #ifdef __GNU_LIBRARY__ + /* Many other libraries have conflicting prototypes for getopt, with + differences in the consts, in stdlib.h. To avoid compilation +@@ -107,6 +108,7 @@ extern int getopt (); + #endif /* __GNU_LIBRARY__ */ + extern int getopt_long (int argc, char *const *argv, const char *shortopts, + const struct option *longopts, int *longind); ++#endif + extern int getopt_long_only (int argc, char *const *argv, + const char *shortopts, + const struct option *longopts, int *longind); +@@ -117,8 +119,10 @@ extern int _getopt_internal (int argc, c + const struct option *longopts, int *longind, + int long_only); + #else /* not __STDC__ */ ++#if 0 + extern int getopt (); + extern int getopt_long (); ++#endif + extern int getopt_long_only (); + + extern int _getopt_internal (); |