diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-07-08 19:30:16 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-07-08 19:30:16 +0000 |
commit | 2899ea49f87ca876e70cf2ce37cb7b63c66ffb6f (patch) | |
tree | fd682c6a787dbc632c0d8ca3875e923b708b1ee1 /dev-libs/tdb | |
parent | Add missing vdr-plugin.eclass call, Bug #277051. Fix compilation with gcc-4.4 (diff) | |
download | gentoo-2-2899ea49f87ca876e70cf2ce37cb7b63c66ffb6f.tar.gz gentoo-2-2899ea49f87ca876e70cf2ce37cb7b63c66ffb6f.tar.bz2 gentoo-2-2899ea49f87ca876e70cf2ce37cb7b63c66ffb6f.zip |
Include signal.h and sys/types.h in tdb.h to avoid 3rd party software from failing to compile.
(Portage version: 2.2_rc33/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'dev-libs/tdb')
-rw-r--r-- | dev-libs/tdb/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/tdb/files/tdb-1.0.6-missing_include.patch | 13 | ||||
-rw-r--r-- | dev-libs/tdb/tdb-1.0.6-r1.ebuild (renamed from dev-libs/tdb/tdb-1.0.6.ebuild) | 5 |
3 files changed, 24 insertions, 3 deletions
diff --git a/dev-libs/tdb/ChangeLog b/dev-libs/tdb/ChangeLog index 76ef5f4c91ac..e16a783279e4 100644 --- a/dev-libs/tdb/ChangeLog +++ b/dev-libs/tdb/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-libs/tdb # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/tdb/ChangeLog,v 1.21 2009/07/06 18:26:26 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/tdb/ChangeLog,v 1.22 2009/07/08 19:30:16 ssuominen Exp $ + +*tdb-1.0.6-r1 (08 Jul 2009) + + 08 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> -tdb-1.0.6.ebuild, + +tdb-1.0.6-r1.ebuild, +files/tdb-1.0.6-missing_include.patch: + Include signal.h and sys/types.h in tdb.h to avoid 3rd party software from + failing to compile. 06 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> tdb-1.0.6.ebuild: Block net-fs/samba-libs as well since libtdb is there now. diff --git a/dev-libs/tdb/files/tdb-1.0.6-missing_include.patch b/dev-libs/tdb/files/tdb-1.0.6-missing_include.patch new file mode 100644 index 000000000000..ede0ed888f0f --- /dev/null +++ b/dev-libs/tdb/files/tdb-1.0.6-missing_include.patch @@ -0,0 +1,13 @@ +diff -ur tdb-1.0.6.orig/tdb.h tdb-1.0.6/tdb.h +--- tdb-1.0.6.orig/tdb.h 2001-12-11 04:20:44.000000000 +0200 ++++ tdb-1.0.6/tdb.h 2009-07-08 22:32:47.000000000 +0300 +@@ -1,6 +1,9 @@ + #ifndef __TDB_H__ + #define __TDB_H__ + ++#include <sys/types.h> ++#include <signal.h> ++ + /* + Unix SMB/Netbios implementation. + Version 3.0 diff --git a/dev-libs/tdb/tdb-1.0.6.ebuild b/dev-libs/tdb/tdb-1.0.6-r1.ebuild index 7d708733f5d4..a999be55fcd0 100644 --- a/dev-libs/tdb/tdb-1.0.6.ebuild +++ b/dev-libs/tdb/tdb-1.0.6-r1.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/dev-libs/tdb/tdb-1.0.6.ebuild,v 1.25 2009/07/06 18:26:26 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/tdb/tdb-1.0.6-r1.ebuild,v 1.1 2009/07/08 19:30:16 ssuominen Exp $ EAPI=2 inherit autotools eutils @@ -20,7 +20,8 @@ DEPEND="${RDEPEND}" src_prepare() { epatch "${FILESDIR}"/${P}-gcc3.patch \ - "${FILESDIR}"/${P}-no-gdbm.patch + "${FILESDIR}"/${P}-no-gdbm.patch \ + "${FILESDIR}"/${P}-missing_include.patch eautoreconf #243950 } |