diff options
author | Eray Aslan <eras@gentoo.org> | 2011-06-07 12:03:34 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2011-06-07 12:03:34 +0000 |
commit | f8ccb116603f9b883beadbe9c90330285f3efee0 (patch) | |
tree | fbf877627e5a64a9edb0975f4518322a5feac0bd /net-libs | |
parent | ppc/ppc64 stable wrt #370441 (diff) | |
download | gentoo-2-f8ccb116603f9b883beadbe9c90330285f3efee0.tar.gz gentoo-2-f8ccb116603f9b883beadbe9c90330285f3efee0.tar.bz2 gentoo-2-f8ccb116603f9b883beadbe9c90330285f3efee0.zip |
Gross hack around the build process for as-needed - bug #370421
(Portage version: 2.1.10/cvs/Linux x86_64)
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/c-client/ChangeLog | 5 | ||||
-rw-r--r-- | net-libs/c-client/files/c-client-2007e-ldflags.patch | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/net-libs/c-client/ChangeLog b/net-libs/c-client/ChangeLog index 2b15dbc2d3d9..e9209bc88756 100644 --- a/net-libs/c-client/ChangeLog +++ b/net-libs/c-client/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-libs/c-client # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/ChangeLog,v 1.70 2011/06/05 20:09:40 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/ChangeLog,v 1.71 2011/06/07 12:03:34 eras Exp $ + + 07 Jun 2011; Eray Aslan <eras@gentoo.org> files/c-client-2007e-ldflags.patch: + Fix as-needed flag - bug #370421 05 Jun 2011; Jeroen Roovers <jer@gentoo.org> c-client-2007e-r2.ebuild: Stable for HPPA (bug #368585). diff --git a/net-libs/c-client/files/c-client-2007e-ldflags.patch b/net-libs/c-client/files/c-client-2007e-ldflags.patch index 11b1ff050750..819eda6b8756 100644 --- a/net-libs/c-client/files/c-client-2007e-ldflags.patch +++ b/net-libs/c-client/files/c-client-2007e-ldflags.patch @@ -15,13 +15,15 @@ -DLOCKPGM1=\"$(LOCKPGM1)\" -DLOCKPGM2=\"$(LOCKPGM2)\" \ -DLOCKPGM3=\"$(LOCKPGM3)\" > OSCFLAGS - echo $(BASELDFLAGS) $(EXTRALDFLAGS) > LDFLAGS -+ echo `$(CAT) LDFLAGS` -lcrypt $(BASELDFLAGS) $(EXTRALDFLAGS) > LDFLAGS ++ echo $(EXTRALDFLAGS) `$(CAT) LDFLAGS` -lcrypt $(BASELDFLAGS) > LDFLAGS echo "$(ARRC) $(ARCHIVE) $(BINARIES);$(RANLIB) $(ARCHIVE)" > ARCHIVE - echo "`$(CAT) CCTYPE` `$(CAT) CFLAGS` `$(CAT) OSFLAGS` -shared \ + echo "`$(CAT) CCTYPE` `$(CAT) LDFLAGS` `$(CAT) CFLAGS` `$(CAT) OSFLAGS` -shared \ - -Wl,-soname,libc-client.so.1 -o libc-client.so.1.0.0 $(BINARIES)" \ +- -Wl,-soname,libc-client.so.1 -o libc-client.so.1.0.0 $(BINARIES)" \ ++ -Wl,-soname,libc-client.so.1 -o libc-client.so.1.0.0 $(BINARIES)" `$(CAT) LDFLAGS` \ >> ARCHIVE echo $(OS) > OSTYPE + ./drivers $(EXTRADRIVERS) $(DEFAULTDRIVERS) dummy --- src/osdep/unix/Makefile~ 2010-08-08 04:25:00.000000000 -0400 +++ src/osdep/unix/Makefile 2010-08-08 04:36:49.720000021 -0400 @@ -954,7 +954,7 @@ |