* [gentoo-commits] gentoo-x86 commit in games-util/joystick/files: joystick-20060731-asneeded.patch
@ 2009-12-21 15:47 Samuli Suominen (ssuominen)
0 siblings, 0 replies; 2+ messages in thread
From: Samuli Suominen (ssuominen) @ 2009-12-21 15:47 UTC (permalink / raw
To: gentoo-commits
ssuominen 09/12/21 15:47:32
Added: joystick-20060731-asneeded.patch
Log:
Fix building with -Wl,--as-needed wrt #247514 by Kacper Kowalik.
(Portage version: 2.2_rc59/cvs/Linux x86_64)
Revision Changes Path
1.1 games-util/joystick/files/joystick-20060731-asneeded.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-util/joystick/files/joystick-20060731-asneeded.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-util/joystick/files/joystick-20060731-asneeded.patch?rev=1.1&content-type=text/plain
Index: joystick-20060731-asneeded.patch
===================================================================
--- utils.orig/Makefile 2006-07-31 06:50:01.000000000 +0200
+++ utils/Makefile 2009-12-09 20:11:17.962976029 +0100
@@ -46,7 +45,7 @@
ffcfstress: ffcfstress.c
$(CC) $(CFLAGS) -funsigned-char \
- -lm ffcfstress.c -o ffcfstress
+ ffcfstress.c -o ffcfstress -lm
ffmvforce.o: ffmvforce.c
$(CC) -c $(CFLAGS) $(CPPFLAGS) $^ -o $@ `sdl-config --cflags`
@@ -55,13 +54,13 @@
$(CC) $^ -o $@ $(LDFLAGS) $(CFLAGS) -lm `sdl-config --libs`
jscal: jscal.o
- $(CC) $(CFLAGS) $(CPPFLAGS) -lm $^ -o $@
+ $(CC) $(CFLAGS) $(CPPFLAGS) $^ -o $@ -lm
gencodes: gencodes.c scancodes.h
$(CC) $(CFLAGS) $(CPPFLAGS) gencodes.c -o gencodes
acceltest: acceltest.c
- $(CC) $(CFLAGS) $(CPPFLAGS) -lm $^ -o $@
+ $(CC) $(CFLAGS) $(CPPFLAGS) $^ -o $@ -lm
dist:
tar jcf ../joystick-`date +%Y%m%d`.tar.bz2 -C .. utils
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in games-util/joystick/files: joystick-20060731-asneeded.patch
@ 2010-08-12 16:56 Michael Sterrett (mr_bones_)
0 siblings, 0 replies; 2+ messages in thread
From: Michael Sterrett (mr_bones_) @ 2010-08-12 16:56 UTC (permalink / raw
To: gentoo-commits
mr_bones_ 10/08/12 16:56:50
Modified: joystick-20060731-asneeded.patch
Log:
Add libsdl use dep; respect LDFLAGS (bug #332459)
(Portage version: 2.1.8.3/cvs/Linux i686)
Revision Changes Path
1.2 games-util/joystick/files/joystick-20060731-asneeded.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/joystick/files/joystick-20060731-asneeded.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/joystick/files/joystick-20060731-asneeded.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/joystick/files/joystick-20060731-asneeded.patch?r1=1.1&r2=1.2
Index: joystick-20060731-asneeded.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-util/joystick/files/joystick-20060731-asneeded.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- joystick-20060731-asneeded.patch 21 Dec 2009 15:47:32 -0000 1.1
+++ joystick-20060731-asneeded.patch 12 Aug 2010 16:56:49 -0000 1.2
@@ -5,7 +5,7 @@
ffcfstress: ffcfstress.c
$(CC) $(CFLAGS) -funsigned-char \
- -lm ffcfstress.c -o ffcfstress
-+ ffcfstress.c -o ffcfstress -lm
++ ffcfstress.c -o ffcfstress $(LDFLAGS) -lm
ffmvforce.o: ffmvforce.c
$(CC) -c $(CFLAGS) $(CPPFLAGS) $^ -o $@ `sdl-config --cflags`
@@ -14,7 +14,7 @@
jscal: jscal.o
- $(CC) $(CFLAGS) $(CPPFLAGS) -lm $^ -o $@
-+ $(CC) $(CFLAGS) $(CPPFLAGS) $^ -o $@ -lm
++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $^ -o $@ -lm
gencodes: gencodes.c scancodes.h
$(CC) $(CFLAGS) $(CPPFLAGS) gencodes.c -o gencodes
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-08-12 16:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-12 16:56 [gentoo-commits] gentoo-x86 commit in games-util/joystick/files: joystick-20060731-asneeded.patch Michael Sterrett (mr_bones_)
-- strict thread matches above, loose matches on Subject: below --
2009-12-21 15:47 Samuli Suominen (ssuominen)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox