diff options
author | Mounir Lamouri <volkmar@gentoo.org> | 2010-04-13 14:45:32 +0000 |
---|---|---|
committer | Mounir Lamouri <volkmar@gentoo.org> | 2010-04-13 14:45:32 +0000 |
commit | b9c5722780a5a21f3545081db75cd0d788a835e1 (patch) | |
tree | 78fbc89e8a873c7fdfeeb500399ff344a9d01fa4 /dev-libs/eggdbus | |
parent | Depend on dev-util/ccpunit for test. Fix bug #312705 (diff) | |
download | gentoo-2-b9c5722780a5a21f3545081db75cd0d788a835e1.tar.gz gentoo-2-b9c5722780a5a21f3545081db75cd0d788a835e1.tar.bz2 gentoo-2-b9c5722780a5a21f3545081db75cd0d788a835e1.zip |
Include <sys/types.h> to fix build on FreeBSD.
Fix bug 309451.
(Portage version: 15511-svn/cvs/Linux i686)
Diffstat (limited to 'dev-libs/eggdbus')
-rw-r--r-- | dev-libs/eggdbus/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/eggdbus/eggdbus-0.6.ebuild | 5 | ||||
-rw-r--r-- | dev-libs/eggdbus/files/eggdbus-0.6-include-types.h.patch | 19 |
3 files changed, 27 insertions, 3 deletions
diff --git a/dev-libs/eggdbus/ChangeLog b/dev-libs/eggdbus/ChangeLog index a31dd8b63370..29b9216ead9b 100644 --- a/dev-libs/eggdbus/ChangeLog +++ b/dev-libs/eggdbus/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/eggdbus # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/eggdbus/ChangeLog,v 1.10 2010/02/28 18:32:02 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/eggdbus/ChangeLog,v 1.11 2010/04/13 14:45:32 volkmar Exp $ + + 13 Apr 2010; Mounir Lamouri <volkmar@gentoo.org> eggdbus-0.6.ebuild, + +files/eggdbus-0.6-include-types.h.patch: + Include 'types.h' to fix build on FreeBSD, bug 309451 28 Feb 2010; Raúl Porcel <armin76@gentoo.org> eggdbus-0.6.ebuild: Add ~alpha/~arm/~ia64/~sparc diff --git a/dev-libs/eggdbus/eggdbus-0.6.ebuild b/dev-libs/eggdbus/eggdbus-0.6.ebuild index 6d3ba5d81863..9db36f6cf798 100644 --- a/dev-libs/eggdbus/eggdbus-0.6.ebuild +++ b/dev-libs/eggdbus/eggdbus-0.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/eggdbus/eggdbus-0.6.ebuild,v 1.6 2010/02/28 18:32:02 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/eggdbus/eggdbus-0.6.ebuild,v 1.7 2010/04/13 14:45:32 volkmar Exp $ EAPI=2 inherit autotools eutils @@ -28,7 +28,8 @@ DEPEND="${DEPEND} src_prepare() { epatch "${FILESDIR}"/${PN}-0.4-ldflags.patch \ - "${FILESDIR}"/${PN}-0.4-tests.patch + "${FILESDIR}"/${PN}-0.4-tests.patch \ + "${FILESDIR}"/${P}-include-types.h.patch eautoreconf } diff --git a/dev-libs/eggdbus/files/eggdbus-0.6-include-types.h.patch b/dev-libs/eggdbus/files/eggdbus-0.6-include-types.h.patch new file mode 100644 index 000000000000..4f921105a505 --- /dev/null +++ b/dev-libs/eggdbus/files/eggdbus-0.6-include-types.h.patch @@ -0,0 +1,19 @@ +commit 7078a3a186b06b59418df9d5d8972f34a29dd29b +Author: Alexis Ballier <aballier@gentoo.org> +Date: Mon Mar 15 08:32:39 2010 +0100 + + Include sys/types.h. + This is needed to build on FreeBSD to have the uid_t type defined. + +diff --git a/src/eggdbus/Makefile.am b/src/eggdbus/Makefile.am +index aebb984..c312543 100644 +--- a/src/eggdbus/Makefile.am ++++ b/src/eggdbus/Makefile.am +@@ -135,6 +135,7 @@ eggdbus-built-sources.stamp : eggdbus-binding-tool Makefile.am org.freedesktop.D + --dbus-namespace org.freedesktop.DBus \ + --interfaces-only \ + --no-types-header \ ++ --include-header "sys/types.h" \ + --include-header "eggdbus/eggdbustypes.h" \ + --include-header "eggdbus/eggdbusinterface.h" \ + --include-header "eggdbus/eggdbusinterfaceproxy.h" \ |