summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Ostorga <vostorga@gentoo.org>2011-01-18 21:16:58 +0000
committerVictor Ostorga <vostorga@gentoo.org>2011-01-18 21:16:58 +0000
commit3b787e1066d51593439fef569dbd6861bbaf5adc (patch)
tree808d06f72bb4494645f1eea866e50f927f9b9330 /sys-libs/tdb
parentMarking pykde4-4.4.5-r1 ppc for bug 351784 (diff)
downloadgentoo-2-3b787e1066d51593439fef569dbd6861bbaf5adc.tar.gz
gentoo-2-3b787e1066d51593439fef569dbd6861bbaf5adc.tar.bz2
gentoo-2-3b787e1066d51593439fef569dbd6861bbaf5adc.zip
Set _PUBLIC_ in C file rather than header files bug #350720 patch thanks to Rafał Mużyło <galtgendo@o2.pl>
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'sys-libs/tdb')
-rw-r--r--sys-libs/tdb/ChangeLog9
-rw-r--r--sys-libs/tdb/tdb-1.2.7-r1.ebuild (renamed from sys-libs/tdb/tdb-1.2.7.ebuild)11
2 files changed, 16 insertions, 4 deletions
diff --git a/sys-libs/tdb/ChangeLog b/sys-libs/tdb/ChangeLog
index 5c5bcaa7f0fa..9eea81b9ebf6 100644
--- a/sys-libs/tdb/ChangeLog
+++ b/sys-libs/tdb/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-libs/tdb
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/ChangeLog,v 1.27 2011/01/18 16:00:32 vostorga Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/ChangeLog,v 1.28 2011/01/18 21:16:58 vostorga Exp $
+
+*tdb-1.2.7-r1 (18 Jan 2011)
+
+ 18 Jan 2011; Víctor Ostorga <vostorga@gentoo.org> -tdb-1.2.7.ebuild,
+ +tdb-1.2.7-r1.ebuild:
+ Set _PUBLIC_ in C file rather than header files bug #350720 patch thanks
+ to Rafał Mużyło <galtgendo@o2.pl>
*tdb-1.2.7 (03 Jan 2011)
diff --git a/sys-libs/tdb/tdb-1.2.7.ebuild b/sys-libs/tdb/tdb-1.2.7-r1.ebuild
index 6aa98b9cf8f0..92c58b5096c9 100644
--- a/sys-libs/tdb/tdb-1.2.7.ebuild
+++ b/sys-libs/tdb/tdb-1.2.7-r1.ebuild
@@ -1,15 +1,16 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/tdb-1.2.7.ebuild,v 1.3 2011/01/18 16:00:32 vostorga Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/tdb-1.2.7-r1.ebuild,v 1.3 2011/01/18 21:16:58 vostorga Exp $
EAPI="2"
PYTHON_DEPEND="python? 2"
-inherit autotools python
+inherit autotools python eutils flag-o-matic
DESCRIPTION="Samba tdb"
HOMEPAGE="http://tdb.samba.org/"
-SRC_URI="http://samba.org/ftp/tdb/${P}.tar.gz"
+SRC_URI="http://samba.org/ftp/tdb/${P}.tar.gz
+ mirror://gentoo/${P}-patches.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
@@ -38,6 +39,10 @@ src_prepare() {
sed -i \
-e 's|$(XSLTPROC) -o|$(XSLTPROC) --nonet -o|' \
tdb.mk || die "sed failed"
+
+ #Fixing missing public symbols
+ epatch "${WORKDIR}"/${P}-public-in-c-file.patch
+ append-flags '-D_PUBLIC_='
}
src_configure() {