summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2007-09-14 07:50:41 +0000
committerRoy Marples <uberlord@gentoo.org>2007-09-14 07:50:41 +0000
commitd020fb5425122d18fa74114a05421e5f8ba6329e (patch)
tree3f319f5b074886844721275186a9d05b7e9be5bf /sys-freebsd
parentrevert direct bump to sparc stable (diff)
downloadgentoo-2-d020fb5425122d18fa74114a05421e5f8ba6329e.tar.gz
gentoo-2-d020fb5425122d18fa74114a05421e5f8ba6329e.tar.bz2
gentoo-2-d020fb5425122d18fa74114a05421e5f8ba6329e.zip
Sync some --as-needed patches from upstream.
(Portage version: 2.1.3.9)
Diffstat (limited to 'sys-freebsd')
-rw-r--r--sys-freebsd/freebsd-lib/ChangeLog6
-rw-r--r--sys-freebsd/freebsd-lib/files/freebsd-lib-6.2-as-needed.patch40
-rw-r--r--sys-freebsd/freebsd-lib/freebsd-lib-6.2-r2.ebuild3
3 files changed, 47 insertions, 2 deletions
diff --git a/sys-freebsd/freebsd-lib/ChangeLog b/sys-freebsd/freebsd-lib/ChangeLog
index e5ee27e1f503..e0ae6017e8ed 100644
--- a/sys-freebsd/freebsd-lib/ChangeLog
+++ b/sys-freebsd/freebsd-lib/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-freebsd/freebsd-lib
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/ChangeLog,v 1.54 2007/09/12 00:10:29 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/ChangeLog,v 1.55 2007/09/14 07:50:40 uberlord Exp $
+
+ 14 Sep 2007; Roy Marples <uberlord@gentoo.org>
+ +files/freebsd-lib-6.2-as-needed.patch, freebsd-lib-6.2-r2.ebuild:
+ Sync some --as-needed patches from upstream.
*freebsd-lib-6.2-r2 (12 Sep 2007)
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-6.2-as-needed.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-6.2-as-needed.patch
new file mode 100644
index 000000000000..c46b990d1d68
--- /dev/null
+++ b/sys-freebsd/freebsd-lib/files/freebsd-lib-6.2-as-needed.patch
@@ -0,0 +1,40 @@
+This enables --as-needed to work fully on FreeBSD.
+This can be pulled for FreeBSD-7.
+
+diff -ur lib.orig/libmp/Makefile lib/libmp/Makefile
+--- lib.orig/libmp/Makefile 2007-09-14 07:40:20 +0100
++++ lib/libmp/Makefile 2007-09-14 07:44:49 +0100
+@@ -2,6 +2,8 @@
+
+ LIB= mp
+ SHLIB_MAJOR= 5
++DPADD= ${LIBCRYPTO}
++LDADD= -lcrypto
+ MAN= libmp.3
+ INCS= mp.h
+ SRCS= mpasbn.c
+diff -ur lib.orig/libncp/Makefile lib/libncp/Makefile
+--- lib.orig/libncp/Makefile 2007-09-14 07:40:20 +0100
++++ lib/libncp/Makefile 2007-09-14 07:44:49 +0100
+@@ -5,6 +5,8 @@
+ LIB= ncp
+
+ SHLIB_MAJOR= 2
++DPADD= ${LIBIPX}
++LDADD= -lipx
+
+ NO_MAN=
+
+diff -ur lib.orig/libsmb/Makefile lib/libsmb/Makefile
+--- lib.orig/libsmb/Makefile 2007-09-14 07:40:20 +0100
++++ lib/libsmb/Makefile 2007-09-14 07:44:49 +0100
+@@ -5,6 +5,8 @@
+
+ LIB= smb
+ SHLIB_MAJOR= 2
++DPADD= ${LIBKICONV}
++LDADD= -lkiconv
+ NO_MAN=
+
+ SRCS= rcfile.c ctx.c cfopt.c subr.c nls.c rap.c mbuf.c rq.c file.c \
+
diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-6.2-r2.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-6.2-r2.ebuild
index adee3dad804d..5d3564cd2248 100644
--- a/sys-freebsd/freebsd-lib/freebsd-lib-6.2-r2.ebuild
+++ b/sys-freebsd/freebsd-lib/freebsd-lib-6.2-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-6.2-r2.ebuild,v 1.1 2007/09/12 00:10:29 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-6.2-r2.ebuild,v 1.2 2007/09/14 07:50:40 uberlord Exp $
inherit bsdmk freebsd flag-o-matic toolchain-funcs
@@ -84,6 +84,7 @@ PATCHES="${FILESDIR}/${PN}-bsdxml.patch
${FILESDIR}/${PN}-6.2-bluetooth.patch
${FILESDIR}/${PN}-6.2-gcc41.patch
${FILESDIR}/${PN}-6.2-dl_iterate_phdr.patch
+ ${FILESDIR}/${PN}-6.2-as-needed.patch
${FILESDIR}/${PN}-6.2-sparc64.patch"
# Here we disable and remove source which we don't need or want