Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/nvclock/files: nvclock-0.8_beta4-as-needed.patch
Date: Fri, 03 Apr 2009 23:55:25
Message-Id: E1LptEJ-0001Ek-Tj@stork.gentoo.org
1 jer 09/04/03 23:55:23
2
3 Added: nvclock-0.8_beta4-as-needed.patch
4 Log:
5 Patch for --as-needed (bug #247909).
6 (Portage version: 2.2_rc28/cvs/Linux i686)
7
8 Revision Changes Path
9 1.1 media-video/nvclock/files/nvclock-0.8_beta4-as-needed.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/nvclock/files/nvclock-0.8_beta4-as-needed.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/nvclock/files/nvclock-0.8_beta4-as-needed.patch?rev=1.1&content-type=text/plain
13
14 Index: nvclock-0.8_beta4-as-needed.patch
15 ===================================================================
16 Change linking order to make it possible to use -Wl,--as-needed in LDFLAGS
17
18 diff -ru nvclock0.8b4.orig/src/Makefile.in nvclock0.8b4/src/Makefile.in
19 --- nvclock0.8b4.orig/src/Makefile.in 2009-01-03 12:02:54.000000000 -0500
20 +++ nvclock0.8b4/src/Makefile.in 2009-04-02 20:04:12.678271229 -0400
21 @@ -15,7 +15,7 @@
22 ifeq ($(HAVE_NVCONTROL), yes)
23 DEPS=$(libbackend) $(libnvcontrol)
24 INCLUDES=@X11_CFLAGS@ -I./backend -I./nvcontrol -I..
25 - LIBS=@X11_LIBS@ -L./backend -lbackend -L./nvcontrol -lnvcontrol
26 + LIBS=-L./backend -lbackend -L./nvcontrol -lnvcontrol @X11_LIBS@
27 else
28 DEPS=$(libbackend)
29 INCLUDES=-I./backend -I./nvcontrol -I..