* [gentoo-commits] gentoo-x86 commit in media-sound/pianobar/files: pianobar-2011.07.09-tests.patch
@ 2011-07-10 9:14 Tim Harder (radhermit)
0 siblings, 0 replies; only message in thread
From: Tim Harder (radhermit) @ 2011-07-10 9:14 UTC (permalink / raw
To: gentoo-commits
radhermit 11/07/10 09:14:40
Added: pianobar-2011.07.09-tests.patch
Log:
Allow tests to work properly.
(Portage version: 2.2.0_alpha43/cvs/Linux x86_64)
Revision Changes Path
1.1 media-sound/pianobar/files/pianobar-2011.07.09-tests.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/pianobar/files/pianobar-2011.07.09-tests.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/pianobar/files/pianobar-2011.07.09-tests.patch?rev=1.1&content-type=text/plain
Index: pianobar-2011.07.09-tests.patch
===================================================================
--- 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-07-10 9:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-10 9:14 [gentoo-commits] gentoo-x86 commit in media-sound/pianobar/files: pianobar-2011.07.09-tests.patch Tim Harder (radhermit)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox