diff options
author | Akinori Hattori <hattya@gentoo.org> | 2012-10-08 12:51:28 +0000 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2012-10-08 12:51:28 +0000 |
commit | f9db3fb7cf1d467a492e3a19e4e860c4e8ec3dd6 (patch) | |
tree | bc998e842716f7e34a0a8e210d4d71cd07ef1f52 /dev-db | |
parent | Assigning package to netmon herd (diff) | |
download | gentoo-2-f9db3fb7cf1d467a492e3a19e4e860c4e8ec3dd6.tar.gz gentoo-2-f9db3fb7cf1d467a492e3a19e4e860c4e8ec3dd6.tar.bz2 gentoo-2-f9db3fb7cf1d467a492e3a19e4e860c4e8ec3dd6.zip |
add patch to fix compilation error with uClibc by Joshua B. Kahlenberg wrt bug #434784
(Portage version: 2.1.11.9/cvs/Linux i686)
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/tinycdb/ChangeLog | 8 | ||||
-rw-r--r-- | dev-db/tinycdb/files/tinycdb-0.77-uclibc.diff | 15 | ||||
-rw-r--r-- | dev-db/tinycdb/tinycdb-0.77-r2.ebuild | 3 |
3 files changed, 23 insertions, 3 deletions
diff --git a/dev-db/tinycdb/ChangeLog b/dev-db/tinycdb/ChangeLog index 8e1d2fb020da..5d3981f7c532 100644 --- a/dev-db/tinycdb/ChangeLog +++ b/dev-db/tinycdb/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-db/tinycdb # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/tinycdb/ChangeLog,v 1.39 2012/06/16 02:44:40 hattya Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/tinycdb/ChangeLog,v 1.40 2012/10/08 12:51:28 hattya Exp $ + + 08 Oct 2012; Akinori Hattori <hattya@gentoo.org> + +files/tinycdb-0.77-uclibc.diff, tinycdb-0.77-r2.ebuild: + add patch to fix compilation error with uClibc by Joshua B. Kahlenberg wrt bug + #434784 16 Jun 2012; Akinori Hattori <hattya@gentoo.org> -tinycdb-0.77-r1.ebuild, -tinycdb-0.77.ebuild: @@ -127,4 +132,3 @@ 19 Aug 2004; Akinori Hattori <hattya@gentoo.org> +metadata.xml, +files/tinycdb-libbase.diff, +tinycdb-0.74.ebuild: Initial revision. - diff --git a/dev-db/tinycdb/files/tinycdb-0.77-uclibc.diff b/dev-db/tinycdb/files/tinycdb-0.77-uclibc.diff new file mode 100644 index 000000000000..52240931e091 --- /dev/null +++ b/dev-db/tinycdb/files/tinycdb-0.77-uclibc.diff @@ -0,0 +1,15 @@ +--- tinycdb-0.77.orig/cdb.c ++++ tinycdb-0.77/cdb.c +@@ -31,6 +31,12 @@ + # define HAVE_PROGRAM_INVOCATION_SHORT_NAME + #endif + ++#ifdef __UCLIBC__ ++# ifndef __UCLIBC_HAS_PROGRAM_INVOCATION_NAME__ ++# undef HAVE_PROGRAM_INVOCATION_SHORT_NAME ++# endif ++#endif ++ + #ifdef HAVE_PROGRAM_INVOCATION_SHORT_NAME + # define progname program_invocation_short_name + #else diff --git a/dev-db/tinycdb/tinycdb-0.77-r2.ebuild b/dev-db/tinycdb/tinycdb-0.77-r2.ebuild index 2fa5ac81200d..5019877169dd 100644 --- a/dev-db/tinycdb/tinycdb-0.77-r2.ebuild +++ b/dev-db/tinycdb/tinycdb-0.77-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/tinycdb/tinycdb-0.77-r2.ebuild,v 1.6 2012/06/16 02:39:03 hattya Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/tinycdb/tinycdb-0.77-r2.ebuild,v 1.7 2012/10/08 12:51:28 hattya Exp $ EAPI="4" @@ -21,6 +21,7 @@ RDEPEND="!dev-db/cdb" src_prepare() { epatch "${FILESDIR}"/${P}-gentoo.diff epatch "${FILESDIR}"/${P}-umask.diff + epatch "${FILESDIR}"/${P}-uclibc.diff # fix multilib support sed -i "/^libdir/s:/lib:/$(get_libdir):" Makefile } |