public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tim Harder (radhermit)" <radhermit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/pianobar/files: pianobar-2011.07.09-tests.patch
Date: Sun, 10 Jul 2011 09:14:40 +0000 (UTC)	[thread overview]
Message-ID: <20110710091440.9636A20051@flycatcher.gentoo.org> (raw)

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






                 reply	other threads:[~2011-07-10  9:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110710091440.9636A20051@flycatcher.gentoo.org \
    --to=radhermit@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox