summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2020-01-22 19:39:26 -0600
committerMatthew Thode <prometheanfire@gentoo.org>2020-01-22 19:39:45 -0600
commit9387a9a45bca91ef78c7ed5a73d29aeed1da09a4 (patch)
tree05c328637d7d7693c816071a16914fc3a1aa9a8a /net-misc
parentdev-db/myodbc: bump to v8.0.19 (diff)
downloadgentoo-9387a9a45bca91ef78c7ed5a73d29aeed1da09a4.tar.gz
gentoo-9387a9a45bca91ef78c7ed5a73d29aeed1da09a4.tar.bz2
gentoo-9387a9a45bca91ef78c7ed5a73d29aeed1da09a4.zip
net-misc/memcached: fix build error in patching 1.5.21
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/memcached/memcached-1.5.21.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/net-misc/memcached/memcached-1.5.21.ebuild b/net-misc/memcached/memcached-1.5.21.ebuild
index 9f2db8f5a9eb..f5940b47e3fe 100644
--- a/net-misc/memcached/memcached-1.5.21.ebuild
+++ b/net-misc/memcached/memcached-1.5.21.ebuild
@@ -30,11 +30,14 @@ S="${WORKDIR}/${MY_P}"
RESTRICT="!test? ( test )"
+PATCHES=(
+ "${FILESDIR}/${PN}-1.2.2-fbsd.patch"
+ "${FILESDIR}/${PN}-1.4.0-fix-as-needed-linking.patch"
+ "${FILESDIR}/${PN}-1.4.4-as-needed.patch"
+ "${FILESDIR}/${PN}-1.4.17-EWOULDBLOCK.patch"
+)
+
src_prepare() {
- epatch "${FILESDIR}/${PN}-1.2.2-fbsd.patch"
- epatch "${FILESDIR}/${PN}-1.4.0-fix-as-needed-linking.patch"
- epatch "${FILESDIR}/${PN}-1.4.4-as-needed.patch"
- epatch "${FILESDIR}/${PN}-1.4.17-EWOULDBLOCK.patch"
sed -i -e 's,-Werror,,g' configure.ac || die
sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,' configure.ac || die
eautoreconf