From: | "Jeroen Roovers (jer)" <jer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-wm/musca/files: musca-0.9.24-make.patch |
Date: | Sun, 27 Dec 2009 18:51:26 |
Message-Id: | E1NOyD6-0007ue-0v@stork.gentoo.org |
1 | jer 09/12/27 18:51:24 |
2 | |
3 | Modified: musca-0.9.24-make.patch |
4 | Log: |
5 | Fix compiling with --as-needed thanks to Kacper Kowalik (bug #298144). |
6 | (Portage version: 2.2_rc61/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.2 x11-wm/musca/files/musca-0.9.24-make.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/musca/files/musca-0.9.24-make.patch?rev=1.2&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/musca/files/musca-0.9.24-make.patch?rev=1.2&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/musca/files/musca-0.9.24-make.patch?r1=1.1&r2=1.2 |
14 | |
15 | Index: musca-0.9.24-make.patch |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/x11-wm/musca/files/musca-0.9.24-make.patch,v |
18 | retrieving revision 1.1 |
19 | retrieving revision 1.2 |
20 | diff -u -r1.1 -r1.2 |
21 | --- musca-0.9.24-make.patch 30 Nov 2009 20:46:35 -0000 1.1 |
22 | +++ musca-0.9.24-make.patch 27 Dec 2009 18:51:23 -0000 1.2 |
23 | @@ -1,11 +1,10 @@ |
24 | ---- musca-0.9.24/Makefile.orig 2009-11-03 03:20:21.000000000 +0100 |
25 | -+++ musca-0.9.24/Makefile 2009-11-30 21:39:04.000000000 +0100 |
26 | -@@ -1,9 +1,15 @@ |
27 | +--- musca-0.9.24.orig/Makefile 2009-11-03 03:20:21.000000000 +0100 |
28 | ++++ musca-0.9.24/Makefile 2009-12-27 19:12:02.461539607 +0100 |
29 | +@@ -1,9 +1,12 @@ |
30 | -CFLAGS?=-Wall -g |
31 | +CFLAGS ?= -Wall -g |
32 | +INCLUDES = $(shell pkg-config --cflags x11) |
33 | +LIBS = $(shell pkg-config --libs x11) -lm |
34 | -+COMPILE = $(CC) $(CFLAGS) $(INCLUDES) $(LIBS) $(LDFLAGS) |
35 | +BIN_DIST = musca apis xlisten |
36 | |
37 | -all: |
38 | @@ -15,7 +14,7 @@ |
39 | +all: $(BIN_DIST) |
40 | + |
41 | +$(BIN_DIST): |
42 | -+ $(COMPILE) -o $@ $@.c |
43 | ++ $(CC) $(CFLAGS) $(INCLUDES) $@.c -o $@ $(LDFLAGS) $(LIBS) |
44 | |
45 | clean: |
46 | - rm -f musca apis |