Gentoo Archives: gentoo-commits

From: "Samuli Suominen (drac)" <drac@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/italc/files: italc-1.0.3-fpic-asneeded.patch
Date: Sat, 03 Nov 2007 17:20:02
Message-Id: E1IoMf2-00081K-Su@stork.gentoo.org
1 drac 07/11/03 17:19:52
2
3 Added: italc-1.0.3-fpic-asneeded.patch
4 Log:
5 Fix to add -fPIC to EXTRAFLAGS from upstream Subversion. Fix also building with --as-needed, and mark it stable on amd64 wrt #185055 and #191573. There are more problems in build system, not fixed here today.
6 (Portage version: 2.1.3.17)
7
8 Revision Changes Path
9 1.1 net-misc/italc/files/italc-1.0.3-fpic-asneeded.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/italc/files/italc-1.0.3-fpic-asneeded.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/italc/files/italc-1.0.3-fpic-asneeded.patch?rev=1.1&content-type=text/plain
13
14 Index: italc-1.0.3-fpic-asneeded.patch
15 ===================================================================
16 diff -ur italc-1.0.3.orig/configure.in italc-1.0.3/configure.in
17 --- italc-1.0.3.orig/configure.in 2007-06-04 14:34:19.000000000 +0300
18 +++ italc-1.0.3/configure.in 2007-11-03 19:06:06.000000000 +0200
19 @@ -25,7 +25,7 @@
20 AC_PROG_LIBTOOL
21
22
23 -EXTRAFLAGS="-g0 -O2 -Wall"
24 +EXTRAFLAGS="-fPIC -Wall"
25 #-floop-optimize2 -fomit-frame-pointer"
26
27 if test "x`$CC --version|head -1|cut -d\ -f3|cut -d. -f1`" = "x4" ; then
28 diff -ur italc-1.0.3.orig/setup/Makefile.am italc-1.0.3/setup/Makefile.am
29 --- italc-1.0.3.orig/setup/Makefile.am 2007-05-11 17:35:44.000000000 +0300
30 +++ italc-1.0.3/setup/Makefile.am 2007-11-03 19:05:45.000000000 +0200
31 @@ -62,7 +62,7 @@
32 $(WINDRES) -o $@ $<
33 PLATFORM_LDADD = setup_win_resources.o -L../lib/ -litalc_core
34 else
35 -PLATFORM_LDADD = ../lib/libitalc_core-static.a
36 +PLATFORM_LDADD = -L../lib/ -litalc_core
37 endif
38
39 setup_LDADD = $(QT_LDADD) $(QT_LIB_GUI) $(LIBSSL_LDADD) -ljpeg $(PLATFORM_LDADD)
40
41
42
43 --
44 gentoo-commits@g.o mailing list