summaryrefslogtreecommitdiff
path: root/audio/mp3blaster/patches/patch-ad
blob: 4ee8c7eda0580b557b95522e097ea8686b57cbee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
$NetBSD: patch-ad,v 1.2 2003/12/03 12:31:36 cube Exp $

--- configure.orig	2003-11-28 21:07:16.000000000 +0100
+++ configure
@@ -1591,7 +1591,7 @@ echo "$ac_t""$ac_cv_prog_gcc_traditional
   fi
 fi
 
-for ac_func in strdup strstr
+for ac_func in strdup strstr getopt_long_only
 do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 echo "configure:1598: checking for $ac_func" >&5
@@ -2542,7 +2542,7 @@ else
 fi
 done
 
-for ac_hdr in sys/soundcard.h machine/soundcard.h soundcard.h getopt.h
+for ac_hdr in sys/soundcard.h machine/soundcard.h soundcard.h
 do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
@@ -3907,13 +3907,15 @@ fi
 
 
 
-LDFLAGS="$LDFLAGS -L../mpegsound -L../nmixer"
+LDFLAGS="$LDFLAGS -L../mpegsound -L../nmixer -L../getopt"
 LIBMPEGSOUND="-lmpegsound"
 LIBNMIXER="-lnmixer"
+LIBGETOPT="-lgetopt"
 
 
 
-SRCDIRS="mpegsound nmixer src doc doc/charmap"
+
+SRCDIRS="getopt mpegsound nmixer src doc doc/charmap"
 
 trap '' 1 2 15
 cat > confcache <<\EOF
@@ -4016,7 +4018,7 @@ done
 ac_given_srcdir=$srcdir
 ac_given_INSTALL="$INSTALL"
 
-trap 'rm -fr `echo "src/Makefile mpegsound/Makefile Makefile nmixer/Makefile doc/Makefile doc/charmap/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
+trap 'rm -fr `echo "getopt/Makefile src/Makefile mpegsound/Makefile Makefile nmixer/Makefile doc/Makefile doc/charmap/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
 EOF
 cat >> $CONFIG_STATUS <<EOF
 
@@ -4079,6 +4081,7 @@ s%@NAS_CFLAGS@%$NAS_CFLAGS%g
 s%@NCURSES_LIBS@%$NCURSES_LIBS%g
 s%@LIBMPEGSOUND@%$LIBMPEGSOUND%g
 s%@LIBNMIXER@%$LIBNMIXER%g
+s%@LIBGETOPT@%$LIBGETOPT%g
 s%@SRCDIRS@%$SRCDIRS%g
 
 CEOF
@@ -4121,7 +4124,7 @@ EOF
 
 cat >> $CONFIG_STATUS <<EOF
 
-CONFIG_FILES=\${CONFIG_FILES-"src/Makefile mpegsound/Makefile Makefile nmixer/Makefile doc/Makefile doc/charmap/Makefile"}
+CONFIG_FILES=\${CONFIG_FILES-"getopt/Makefile src/Makefile mpegsound/Makefile Makefile nmixer/Makefile doc/Makefile doc/charmap/Makefile"}
 EOF
 cat >> $CONFIG_STATUS <<\EOF
 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then