diff options
Diffstat (limited to 'net-misc/tcpsound/files/tcpsound-0.3.1-asneeded.patch')
-rw-r--r-- | net-misc/tcpsound/files/tcpsound-0.3.1-asneeded.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net-misc/tcpsound/files/tcpsound-0.3.1-asneeded.patch b/net-misc/tcpsound/files/tcpsound-0.3.1-asneeded.patch new file mode 100644 index 000000000000..76f4e2b4d01f --- /dev/null +++ b/net-misc/tcpsound/files/tcpsound-0.3.1-asneeded.patch @@ -0,0 +1,22 @@ +--- Makefile ++++ Makefile +@@ -10,15 +10,16 @@ + MAN = tcpsound.1 + MANGZ = $(MAN:.1=.1.gz) + MKTOOL = ./mktool +-CFLAGS = -c -v -g -W1 -I$(includedir) -L$(libdir) -lSDL -lmba -lpthread ++CFLAGS = -c -v -g -W1 -I$(includedir) ++LIBS = -L$(libdir) -lSDL -lmba -lpthread + CC = $(MKTOOL) + + .SUFFIXES: .1 .1.gz + + tcpsound: mktool src/tcpsound.c src/sound.h src/sound.c src/parse.h src/parse.c +- @$(CC) $(CFLAGS) src/sound.c src/parse.c src/tcpsound.c -o tcpsound ++ @$(CC) $(CFLAGS) src/sound.c src/parse.c src/tcpsound.c -o tcpsound $(LIBS) + play: mktool src/play.c +- @$(CC) $(CFLAGS) src/play.c -o play ++ @$(CC) $(CFLAGS) src/play.c -o play $(LIBS) + + mktool: + cc -g -o mktool mktool.c |