summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-05-16 06:19:18 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-05-16 06:19:18 +0000
commit678c85e93ef00b24fbd5b021401a510f966f19e8 (patch)
tree72403418c93fbd7f498777c8fa68ab07baeada7b /sys-freebsd
parentkeyword ~x86-fbsd (diff)
downloadgentoo-2-678c85e93ef00b24fbd5b021401a510f966f19e8.tar.gz
gentoo-2-678c85e93ef00b24fbd5b021401a510f966f19e8.tar.bz2
gentoo-2-678c85e93ef00b24fbd5b021401a510f966f19e8.zip
Add a patch to improve headers dependencies
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'sys-freebsd')
-rw-r--r--sys-freebsd/freebsd-lib/ChangeLog6
-rw-r--r--sys-freebsd/freebsd-lib/files/freebsd-lib-includes.patch13
-rw-r--r--sys-freebsd/freebsd-lib/freebsd-lib-7.1-r3.ebuild3
3 files changed, 20 insertions, 2 deletions
diff --git a/sys-freebsd/freebsd-lib/ChangeLog b/sys-freebsd/freebsd-lib/ChangeLog
index 11b6456d25dc..ca1a9f8dde17 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-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/ChangeLog,v 1.69 2009/05/15 10:40:42 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/ChangeLog,v 1.70 2009/05/16 06:19:18 aballier Exp $
+
+ 16 May 2009; Alexis Ballier <aballier@gentoo.org>
+ freebsd-lib-7.1-r3.ebuild, +files/freebsd-lib-includes.patch:
+ Add a patch to improve headers dependencies
15 May 2009; Alexis Ballier <aballier@gentoo.org> -freebsd-lib-7.1.ebuild,
-freebsd-lib-7.1-r1.ebuild, -freebsd-lib-7.1-r2.ebuild:
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-includes.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-includes.patch
new file mode 100644
index 000000000000..c2cf1421ea9e
--- /dev/null
+++ b/sys-freebsd/freebsd-lib/files/freebsd-lib-includes.patch
@@ -0,0 +1,13 @@
+Fix headers dependencies so that they can be included alone.
+
+--- include/ifaddrs.h.old 2009-05-15 13:50:10 +0000
++++ include/ifaddrs.h 2009-05-15 13:50:23 +0000
+@@ -28,6 +28,8 @@
+ #ifndef _IFADDRS_H_
+ #define _IFADDRS_H_
+
++#include <sys/types.h>
++
+ struct ifaddrs {
+ struct ifaddrs *ifa_next;
+ char *ifa_name;
diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-7.1-r3.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-7.1-r3.ebuild
index 30dd9ba2a232..a6496fe81bc8 100644
--- a/sys-freebsd/freebsd-lib/freebsd-lib-7.1-r3.ebuild
+++ b/sys-freebsd/freebsd-lib/freebsd-lib-7.1-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-7.1-r3.ebuild,v 1.1 2009/05/12 10:29:23 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-7.1-r3.ebuild,v 1.2 2009/05/16 06:19:18 aballier Exp $
inherit bsdmk freebsd flag-o-matic multilib toolchain-funcs
@@ -131,6 +131,7 @@ src_unpack() {
# patches "${WORKDIR}/include"
cd "${WORKDIR}"
epatch "${FILESDIR}/${PN}-7.1-strndup_bport.patch"
+ epatch "${FILESDIR}/${PN}-includes.patch"
# Don't install the hesiod man page or header
rm "${WORKDIR}"/include/hesiod.h || die