summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-07-10 09:14:40 +0000
committerTim Harder <radhermit@gentoo.org>2011-07-10 09:14:40 +0000
commitbe0b6cb34651dda1313d271d973fdac1e9b5da15 (patch)
tree08dc9ab7aab11774dc537d2fa8580ed1f59bcef2 /media-sound/pianobar/files
parentStable on amd64 wrt bug #369409 (diff)
downloadgentoo-2-be0b6cb34651dda1313d271d973fdac1e9b5da15.tar.gz
gentoo-2-be0b6cb34651dda1313d271d973fdac1e9b5da15.tar.bz2
gentoo-2-be0b6cb34651dda1313d271d973fdac1e9b5da15.zip
Allow tests to work properly.
(Portage version: 2.2.0_alpha43/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/pianobar/files')
-rw-r--r--media-sound/pianobar/files/pianobar-2011.07.09-tests.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/media-sound/pianobar/files/pianobar-2011.07.09-tests.patch b/media-sound/pianobar/files/pianobar-2011.07.09-tests.patch
new file mode 100644
index 000000000000..ce6786dcbe84
--- /dev/null
+++ b/media-sound/pianobar/files/pianobar-2011.07.09-tests.patch
@@ -0,0 +1,26 @@
+--- pianobar-2011.07.09/Makefile.orig
++++ pianobar-2011.07.09/Makefile
+@@ -55,10 +55,12 @@
+
+ LIBWAITRESS_DIR=src/libwaitress
+ LIBWAITRESS_SRC=${LIBWAITRESS_DIR}/waitress.c
++LIBWAITRESS_TSRC=${LIBWAITRESS_DIR}/waitress-test.c
+ LIBWAITRESS_HDR=\
+ ${LIBWAITRESS_DIR}/config.h \
+ ${LIBWAITRESS_DIR}/waitress.h
+ LIBWAITRESS_OBJ=${LIBWAITRESS_SRC:.c=.o}
++LIBWAITRESS_TOBJ=${LIBWAITRESS_TSRC:.c=.o}
+ LIBWAITRESS_RELOBJ=${LIBWAITRESS_SRC:.c=.lo}
+ LIBWAITRESS_INCLUDE=${LIBWAITRESS_DIR}
+
+@@ -130,8 +132,8 @@
+ debug: CFLAGS=-Wall -pedantic -ggdb
+
+ waitress-test: CFLAGS+= -DTEST
+-waitress-test: ${LIBWAITRESS_OBJ}
+- ${CC} ${LDFLAGS} ${LIBWAITRESS_OBJ} -o waitress-test
++waitress-test: ${LIBWAITRESS_TOBJ}
++ ${CC} ${LDFLAGS} ${LIBWAITRESS_TOBJ} -o waitress-test
+
+ test: waitress-test
+ ./waitress-test