diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2010-07-30 18:21:01 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2010-07-30 18:21:01 +0000 |
commit | 7181975b8121e6df0fb01f81b9f4374b7272941b (patch) | |
tree | b7aa2269391c2e0e6ce07a5fcb3480b4a7202a7f /dev-libs/libmemcache | |
parent | Stable on amd64 wrt bug #329879 (diff) | |
download | gentoo-2-7181975b8121e6df0fb01f81b9f4374b7272941b.tar.gz gentoo-2-7181975b8121e6df0fb01f81b9f4374b7272941b.tar.bz2 gentoo-2-7181975b8121e6df0fb01f81b9f4374b7272941b.zip |
Add patch to fix implicit pointer declaration causing compilation problems on amd64 host
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libmemcache')
-rw-r--r-- | dev-libs/libmemcache/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/libmemcache/files/libmemcache-1.4.0_rc2-implicit_pointer.patch | 12 | ||||
-rw-r--r-- | dev-libs/libmemcache/libmemcache-1.4.0_rc2-r1.ebuild | 5 |
3 files changed, 22 insertions, 3 deletions
diff --git a/dev-libs/libmemcache/ChangeLog b/dev-libs/libmemcache/ChangeLog index 1ac37e1aaea3..68759ec196bb 100644 --- a/dev-libs/libmemcache/ChangeLog +++ b/dev-libs/libmemcache/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/libmemcache # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmemcache/ChangeLog,v 1.27 2010/07/10 20:21:39 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmemcache/ChangeLog,v 1.28 2010/07/30 18:21:00 hwoarang Exp $ + + 30 Jul 2010; Markos Chandras <hwoarang@gentoo.org> + libmemcache-1.4.0_rc2-r1.ebuild, + +files/libmemcache-1.4.0_rc2-implicit_pointer.patch: + Add patch to fix implicit pointer declaration causing compilation problems + on amd64 host 10 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> libmemcache-1.4.0_rc2-r1.ebuild, diff --git a/dev-libs/libmemcache/files/libmemcache-1.4.0_rc2-implicit_pointer.patch b/dev-libs/libmemcache/files/libmemcache-1.4.0_rc2-implicit_pointer.patch new file mode 100644 index 000000000000..e944ce1725a9 --- /dev/null +++ b/dev-libs/libmemcache/files/libmemcache-1.4.0_rc2-implicit_pointer.patch @@ -0,0 +1,12 @@ +Index: libmemcache-1.4.0.rc2/test/benchmark/benchmark.c +=================================================================== +--- libmemcache-1.4.0.rc2.orig/test/benchmark/benchmark.c ++++ libmemcache-1.4.0.rc2/test/benchmark/benchmark.c +@@ -29,6 +29,7 @@ + + #include "memcache.h" + ++char *strdup(const char *s1); + double tt(const struct timeval *t1, const struct timeval *t2); + + double diff --git a/dev-libs/libmemcache/libmemcache-1.4.0_rc2-r1.ebuild b/dev-libs/libmemcache/libmemcache-1.4.0_rc2-r1.ebuild index f687d0cfe97b..1f96fc4d927d 100644 --- a/dev-libs/libmemcache/libmemcache-1.4.0_rc2-r1.ebuild +++ b/dev-libs/libmemcache/libmemcache-1.4.0_rc2-r1.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/libmemcache/libmemcache-1.4.0_rc2-r1.ebuild,v 1.4 2010/07/10 20:21:39 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmemcache/libmemcache-1.4.0_rc2-r1.ebuild,v 1.5 2010/07/30 18:21:00 hwoarang Exp $ EAPI=3 inherit autotools eutils toolchain-funcs @@ -20,7 +20,8 @@ S=${WORKDIR}/${MY_P} src_prepare() { epatch "${FILESDIR}"/${P}-inline.patch - + epatch "${FILESDIR}"/${P}-implicit_pointer.patch + rm -rf test/unit || die sed -i -e '/DIR/s,unit,,g' test/Makefile.am || die sed -i \ |