Gentoo Archives: gentoo-commits

From: "Alfredo Tupone (tupone)" <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apps/webmcp/files: webmcp-1.2.5-gentoo.patch
Date: Sat, 21 Jun 2014 18:27:10
Message-Id: 20140621182706.090C32004F@flycatcher.gentoo.org
1 tupone 14/06/21 18:27:05
2
3 Modified: webmcp-1.2.5-gentoo.patch
4 Log:
5 Build fix. Bug #514162
6
7 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0145142D)
8
9 Revision Changes Path
10 1.2 www-apps/webmcp/files/webmcp-1.2.5-gentoo.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/webmcp/files/webmcp-1.2.5-gentoo.patch?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/webmcp/files/webmcp-1.2.5-gentoo.patch?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/webmcp/files/webmcp-1.2.5-gentoo.patch?r1=1.1&r2=1.2
15
16 Index: webmcp-1.2.5-gentoo.patch
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/www-apps/webmcp/files/webmcp-1.2.5-gentoo.patch,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- webmcp-1.2.5-gentoo.patch 24 Apr 2013 08:15:15 -0000 1.1
23 +++ webmcp-1.2.5-gentoo.patch 21 Jun 2014 18:27:05 -0000 1.2
24 @@ -41,7 +41,7 @@
25 # TODO: check alternatives to -D_GNU_SOURCE -fPIC
26 # using libtool?
27 -CFLAGS = -O2 -D_GNU_SOURCE -fPIC -Wall -I /usr/include -I /usr/local/include
28 -+CPPFLAGS = -D_GNU_SOURCE -I /usr/include
29 ++CPPFLAGS = -D_GNU_SOURCE
30
31 # additional C compiler flags for parts which depend on PostgreSQL
32 CFLAGS_PGSQL = -I /usr/include/postgresql -I /usr/include/postgresql/server -I /usr/local/include/postgresql -I /usr/local/include/postgresql/server
33 @@ -95,3 +95,47 @@
34
35 #define EXTOS_MAX_ERRLEN 80
36 #define EXTOS_EXEC_MAX_ARGS 64
37 +--- framework/accelerator/Makefile.old 2014-06-21 20:15:21.019918183 +0200
38 ++++ framework/accelerator/Makefile 2014-06-21 20:15:44.700471794 +0200
39 +@@ -4,7 +4,7 @@
40 + $(LD) $(LDFLAGS) -o webmcp_accelerator.$(SLIB_EXT) webmcp_accelerator.o
41 +
42 + webmcp_accelerator.o: webmcp_accelerator.c
43 +- $(CC) -c $(CFLAGS) -o webmcp_accelerator.o webmcp_accelerator.c
44 ++ $(CC) -c $(CFLAGS) $(CPPFLAGS) -fPIC -o webmcp_accelerator.o webmcp_accelerator.c
45 +
46 + clean::
47 + rm -f webmcp_accelerator.so webmcp_accelerator.o
48 +--- libraries/extos/Makefile.old 2014-06-21 20:18:25.594611956 +0200
49 ++++ libraries/extos/Makefile 2014-06-21 20:18:50.457183029 +0200
50 +@@ -4,7 +4,7 @@
51 + $(LD) $(LDFLAGS) -o extos.$(SLIB_EXT) extos.o -lrt -lcrypt -llua
52 +
53 + extos.o: extos.c
54 +- $(CC) -c $(CFLAGS) -o extos.o extos.c
55 ++ $(CC) -c $(CFLAGS) $(CPPFLAGS) -fPIC -o extos.o extos.c
56 +
57 + clean::
58 + rm -f extos.so extos.o
59 +--- libraries/mondelefant/Makefile.old 2014-06-21 20:19:58.218962359 +0200
60 ++++ libraries/mondelefant/Makefile 2014-06-21 20:20:24.527476578 +0200
61 +@@ -4,7 +4,7 @@
62 + $(LD) $(LDFLAGS) $(LDFLAGS_PGSQL) -o mondelefant_native.$(SLIB_EXT) mondelefant_native.o -lpq -llua
63 +
64 + mondelefant_native.o: mondelefant_native.c
65 +- $(CC) -c $(CFLAGS) $(CFLAGS_PGSQL) -o mondelefant_native.o mondelefant_native.c
66 ++ $(CC) -c $(CFLAGS) $(CPPFLAGS) -fPIC $(CFLAGS_PGSQL) -o mondelefant_native.o mondelefant_native.c
67 +
68 + test:: mondelefant_native.so mondelefant.lua
69 + lua -l mondelefant
70 +--- libraries/multirand/Makefile.old 2014-06-21 20:21:36.950197127 +0200
71 ++++ libraries/multirand/Makefile 2014-06-21 20:22:04.967703944 +0200
72 +@@ -4,7 +4,7 @@
73 + $(LD) $(LDFLAGS) -o multirand.$(SLIB_EXT) multirand.o -llua
74 +
75 + multirand.o: multirand.c
76 +- $(CC) -c $(CFLAGS) -o multirand.o multirand.c
77 ++ $(CC) -c $(CFLAGS) $(CPPFLAGS) -fPIC -o multirand.o multirand.c
78 +
79 + clean::
80 + rm -f multirand.so multirand.o