summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2010-08-04 09:11:58 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2010-08-04 09:11:58 +0000
commit97a0cbbe36286cb3d69101a0db41c0cb6d73801c (patch)
tree0c79c684935325b17d2852190a83d758fbc06905 /dev-java/jss
parentVersion bump (diff)
downloadgentoo-2-97a0cbbe36286cb3d69101a0db41c0cb6d73801c.tar.gz
gentoo-2-97a0cbbe36286cb3d69101a0db41c0cb6d73801c.tar.bz2
gentoo-2-97a0cbbe36286cb3d69101a0db41c0cb6d73801c.zip
Respect LDFLAGS wrt bug 327619. Thanks to Andreis Vinogradovs (slepnoga) <spamslepnoga@inbox.ru> for the report.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/jss')
-rw-r--r--dev-java/jss/ChangeLog9
-rw-r--r--dev-java/jss/files/jss-4.3-ldflags.patch14
-rw-r--r--dev-java/jss/jss-4.3.ebuild5
3 files changed, 24 insertions, 4 deletions
diff --git a/dev-java/jss/ChangeLog b/dev-java/jss/ChangeLog
index 0e7d916da58d..f5fd8c21507b 100644
--- a/dev-java/jss/ChangeLog
+++ b/dev-java/jss/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/jss
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jss/ChangeLog,v 1.23 2009/12/07 23:08:36 maekke Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jss/ChangeLog,v 1.24 2010/08/04 09:11:57 xarthisius Exp $
+
+ 04 Aug 2010; Kacper Kowalik <xarthisius@gentoo.org> jss-4.3.ebuild,
+ +files/jss-4.3-ldflags.patch:
+ Respect LDFLAGS wrt bug 327619. Thanks to Andreis Vinogradovs (slepnoga)
+ <spamslepnoga@inbox.ru> for the report.
07 Dec 2009; Markus Meier <maekke@gentoo.org> jss-4.3.ebuild:
amd64/x86 stable, bug #295590
diff --git a/dev-java/jss/files/jss-4.3-ldflags.patch b/dev-java/jss/files/jss-4.3-ldflags.patch
new file mode 100644
index 000000000000..2706da134464
--- /dev/null
+++ b/dev-java/jss/files/jss-4.3-ldflags.patch
@@ -0,0 +1,14 @@
+https://bugzilla.mozilla.org/show_bug.cgi?id=583666
+https://bugs.gentoo.org/show_bug.cgi?id=327619
+
+--- security/coreconf/Linux.mk
++++ security/coreconf/Linux.mk
+@@ -174,7 +174,7 @@
+ ARCH = linux
+
+ DSO_CFLAGS = -fPIC
+-DSO_LDOPTS = -shared $(ARCHFLAG) -Wl,-z,defs
++DSO_LDOPTS = $(LDFLAGS) -shared $(ARCHFLAG) -Wl,-z,defs
+ DSO_LDFLAGS =
+ LDFLAGS += $(ARCHFLAG)
+
diff --git a/dev-java/jss/jss-4.3.ebuild b/dev-java/jss/jss-4.3.ebuild
index a35d0e30217e..38305573ccf7 100644
--- a/dev-java/jss/jss-4.3.ebuild
+++ b/dev-java/jss/jss-4.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jss/jss-4.3.ebuild,v 1.2 2009/12/07 23:08:36 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jss/jss-4.3.ebuild,v 1.3 2010/08/04 09:11:57 xarthisius Exp $
inherit base java-pkg-2 versionator
@@ -35,6 +35,7 @@ S=${WORKDIR}/mozilla
PATCHES=(
"${FILESDIR}/${PN}-3.4-target_source.patch"
"${FILESDIR}/${PN}-4.2.5-use_pkg-config.patch"
+ "${FILESDIR}/${P}-ldflags.patch"
)
src_compile() {