public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-misc/shout/files: ldflags.patch implicitdecls.patch
@ 2008-12-19 19:04 Alexis Ballier (aballier)
  0 siblings, 0 replies; only message in thread
From: Alexis Ballier (aballier) @ 2008-12-19 19:04 UTC (permalink / raw
  To: gentoo-commits

aballier    08/12/19 19:04:16

  Added:                ldflags.patch implicitdecls.patch
  Log:
  use econf, dont build with -ansi as it uses non ansi stuff, bug #241000, honour ldflags and cc, fix implicit declarations warnings
  (Portage version: 2.2_rc17/cvs/Linux 2.6.27.8 x86_64)

Revision  Changes    Path
1.1                  net-misc/shout/files/ldflags.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/shout/files/ldflags.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/shout/files/ldflags.patch?rev=1.1&content-type=text/plain

Index: ldflags.patch
===================================================================
Index: shout-0.8.0/Makefile.in
===================================================================
--- shout-0.8.0.orig/Makefile.in
+++ shout-0.8.0/Makefile.in
@@ -2,7 +2,6 @@
 
 CC = @CC@
 CFLAGS = @CFLAGS@
-LDFLAGS = @LIBS@
 
 SHELL=/bin/sh
 
@@ -26,7 +25,7 @@ COMPILE_CFLAGS=$(CFLAGS) $(DEFS) 
 all: shout
 
 shout: shout.c rand.o mpeg.o configfile.o sock.o util.o
-	$(CC) $(COMPILE_CFLAGS) -o shout shout.c rand.o mpeg.o configfile.o sock.o util.o $(LDFLAGS)
+	$(CC) $(COMPILE_CFLAGS) $(LDFLAGS) -o shout shout.c rand.o mpeg.o configfile.o sock.o util.o @LIBS@
 
 configfile.o: configfile.c
 	$(CC) $(COMPILE_CFLAGS) -c -o configfile.o configfile.c



1.1                  net-misc/shout/files/implicitdecls.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/shout/files/implicitdecls.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/shout/files/implicitdecls.patch?rev=1.1&content-type=text/plain

Index: implicitdecls.patch
===================================================================
Index: shout-0.8.0/sock.c
===================================================================
--- shout-0.8.0.orig/sock.c
+++ shout-0.8.0/sock.c
@@ -25,6 +25,7 @@
 #include <arpa/inet.h>
 #include <sys/time.h>
 #include <unistd.h>
+#include <string.h>
 #endif /* !win32 */
 
 #include "sock.h"






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-19 19:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-19 19:04 [gentoo-commits] gentoo-x86 commit in net-misc/shout/files: ldflags.patch implicitdecls.patch Alexis Ballier (aballier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox