Gentoo Archives: gentoo-commits

From: "Michael Haubenwallner (haubi)" <haubi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/mico/files: mico-2.3.13-as-needed.patch
Date: Wed, 09 Sep 2009 06:34:18
Message-Id: E1MlGkz-0006OV-4o@stork.gentoo.org
1 haubi 09/09/09 06:34:17
2
3 Added: mico-2.3.13-as-needed.patch
4 Log:
5 work with (forced) --as-needed linker flag (#280678)
6 (Portage version: 2.1.6.13/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 net-misc/mico/files/mico-2.3.13-as-needed.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mico/files/mico-2.3.13-as-needed.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mico/files/mico-2.3.13-as-needed.patch?rev=1.1&content-type=text/plain
13
14 Index: mico-2.3.13-as-needed.patch
15 ===================================================================
16 Link libmico.so against ssl,crypto on any platform when necessary,
17 to get -Wl,--as-needed working. #280678.
18 --- orb/Makefile.orig 2009-09-08 18:25:23.157431541 +0200
19 +++ orb/Makefile 2009-09-08 18:27:23.717729431 +0200
20 @@ -31,7 +31,7 @@
21 endif
22
23 PLATFORM_LIBS =
24 -ifeq ($(HAVE_CYGWIN), yes)
25 +#ifeq ($(HAVE_CYGWIN), yes)
26 ifeq ($(USE_CSL2), yes)
27 PLATFORM_LIBS := $(PLATFORM_LIBS) -lssl -lcrypto
28 else
29 @@ -43,7 +43,7 @@
30 endif
31 endif
32 endif
33 -endif
34 +#endif
35
36 ifeq ($(HAVE_ORB_EXCEPTS), no)
37 CXXFLAGS := $(CXXFLAGS) $(NOEHFLAGS) -DMICO_CONF_NO_EXCEPTIONS