summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2007-12-14 17:40:47 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2007-12-14 17:40:47 +0000
commitc1d55226c269555fc336c2b8ac338f66baf6c322 (patch)
treed0981c3d378a589cb4aac76827e26e51017e51c5 /net-libs/gnutls
parentAdd iceweasel branding (diff)
downloadgentoo-2-c1d55226c269555fc336c2b8ac338f66baf6c322.tar.gz
gentoo-2-c1d55226c269555fc336c2b8ac338f66baf6c322.tar.bz2
gentoo-2-c1d55226c269555fc336c2b8ac338f66baf6c322.zip
Fix selflink issue, bug#202269, thanks to aballier
(Portage version: 2.1.4_rc10)
Diffstat (limited to 'net-libs/gnutls')
-rw-r--r--net-libs/gnutls/ChangeLog6
-rw-r--r--net-libs/gnutls/files/gnutls-2.2.0-selflink.patch21
-rw-r--r--net-libs/gnutls/gnutls-2.2.0.ebuild7
3 files changed, 31 insertions, 3 deletions
diff --git a/net-libs/gnutls/ChangeLog b/net-libs/gnutls/ChangeLog
index 99d976bec4ed..1d77ab02c722 100644
--- a/net-libs/gnutls/ChangeLog
+++ b/net-libs/gnutls/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/gnutls
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.126 2007/12/14 14:25:30 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.127 2007/12/14 17:40:47 alonbl Exp $
+
+ 14 Dec 2007; Alon Bar-Lev <alonbl@gentoo.org>
+ +files/gnutls-2.2.0-selflink.patch, gnutls-2.2.0.ebuild:
+ Fix selflink issue, bug#202269, thanks to aballier
*gnutls-2.2.0 (14 Dec 2007)
diff --git a/net-libs/gnutls/files/gnutls-2.2.0-selflink.patch b/net-libs/gnutls/files/gnutls-2.2.0-selflink.patch
new file mode 100644
index 000000000000..d9ea3c99b8f8
--- /dev/null
+++ b/net-libs/gnutls/files/gnutls-2.2.0-selflink.patch
@@ -0,0 +1,21 @@
+diff -urNp gnutls-2.2.0.org/libextra/Makefile.am gnutls-2.2.0/libextra/Makefile.am
+--- gnutls-2.2.0.org/libextra/Makefile.am 2007-12-10 19:19:10.000000000 +0200
++++ gnutls-2.2.0/libextra/Makefile.am 2007-12-14 19:33:45.000000000 +0200
+@@ -60,7 +60,7 @@ lib_LTLIBRARIES = libgnutls-extra.la
+
+ libgnutls_extra_la_SOURCES = gnutls_extra.c
+
+-libgnutls_openssl_la_LDFLAGS = -no-undefined
++libgnutls_openssl_la_LDFLAGS = -no-undefined -L$(top_srcdir)/lib/.libs
+
+ # OpenSSL
+
+@@ -90,7 +90,7 @@ endif
+ # OpenPGP
+
+ libgnutls_extra_la_LIBADD =
+-libgnutls_extra_la_LDFLAGS = -no-undefined
++libgnutls_extra_la_LDFLAGS = -no-undefined -L$(top_srcdir)/lib/.libs
+ if ENABLE_OPENPGP
+ libgnutls_extra_la_SOURCES += gnutls_openpgp.c
+ libgnutls_extra_la_LIBADD += openpgp/libgnutls_openpgp.la
diff --git a/net-libs/gnutls/gnutls-2.2.0.ebuild b/net-libs/gnutls/gnutls-2.2.0.ebuild
index 78c20e9d668e..2e5e866fa8b2 100644
--- a/net-libs/gnutls/gnutls-2.2.0.ebuild
+++ b/net-libs/gnutls/gnutls-2.2.0.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-2.2.0.ebuild,v 1.1 2007/12/14 14:25:30 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-2.2.0.ebuild,v 1.2 2007/12/14 17:40:47 alonbl Exp $
-inherit libtool
+inherit libtool autotools
DESCRIPTION="A TLS 1.0 and SSL 3.0 implementation for the GNU project"
HOMEPAGE="http://www.gnutls.org/"
@@ -31,6 +31,9 @@ src_unpack() {
unpack ${A}
cd "${S}"
elibtoolize # for sane .so versioning on FreeBSD
+
+ epatch "${FILESDIR}/${P}-selflink.patch"
+ AT_M4DIR="m4 gl/m4 lgl/m4" eautoreconf
}
src_compile() {