summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-09-03 13:39:28 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-09-03 13:39:28 +0000
commit0921d173442f7e89a28daea10dd8ae93e5e6ce7d (patch)
tree451171c871d6f3622fb2e6833febdfc11db93b05 /dev-cpp/cppserv
parent Honour Gentoo LDFLAGS, bug #335799. (diff)
downloadgentoo-2-0921d173442f7e89a28daea10dd8ae93e5e6ce7d.tar.gz
gentoo-2-0921d173442f7e89a28daea10dd8ae93e5e6ce7d.tar.bz2
gentoo-2-0921d173442f7e89a28daea10dd8ae93e5e6ce7d.zip
Fix building with recent glibc wrt #335687 by Diego E. Pettenò.
(Portage version: 2.2_rc69/cvs/Linux x86_64)
Diffstat (limited to 'dev-cpp/cppserv')
-rw-r--r--dev-cpp/cppserv/ChangeLog6
-rw-r--r--dev-cpp/cppserv/cppserv-0.2.13.ebuild5
-rw-r--r--dev-cpp/cppserv/files/cppserv-0.2.13-glibc-212.patch12
3 files changed, 20 insertions, 3 deletions
diff --git a/dev-cpp/cppserv/ChangeLog b/dev-cpp/cppserv/ChangeLog
index 8db45b95f9fb..1adc891ace17 100644
--- a/dev-cpp/cppserv/ChangeLog
+++ b/dev-cpp/cppserv/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-cpp/cppserv
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/cppserv/ChangeLog,v 1.51 2010/03/07 13:36:12 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/cppserv/ChangeLog,v 1.52 2010/09/03 13:39:28 ssuominen Exp $
+
+ 03 Sep 2010; Samuli Suominen <ssuominen@gentoo.org> cppserv-0.2.13.ebuild,
+ +files/cppserv-0.2.13-glibc-212.patch:
+ Fix building with recent glibc wrt #335687 by Diego E. Pettenò.
07 Mar 2010; Benedikt Böhm <hollow@gentoo.org> cppserv-0.1.119.ebuild,
cppserv-0.2.13.ebuild:
diff --git a/dev-cpp/cppserv/cppserv-0.2.13.ebuild b/dev-cpp/cppserv/cppserv-0.2.13.ebuild
index ab4e931c6835..c5476fcf3739 100644
--- a/dev-cpp/cppserv/cppserv-0.2.13.ebuild
+++ b/dev-cpp/cppserv/cppserv-0.2.13.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-cpp/cppserv/cppserv-0.2.13.ebuild,v 1.4 2010/03/07 13:36:12 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/cppserv/cppserv-0.2.13.ebuild,v 1.5 2010/09/03 13:39:28 ssuominen Exp $
inherit eutils apache-module multilib
@@ -33,7 +33,8 @@ cppserv_build_flags() {
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}"/${P}-asneeded.patch
+ epatch "${FILESDIR}"/${P}-asneeded.patch \
+ "${FILESDIR}"/${P}-glibc-212.patch
}
src_compile() {
diff --git a/dev-cpp/cppserv/files/cppserv-0.2.13-glibc-212.patch b/dev-cpp/cppserv/files/cppserv-0.2.13-glibc-212.patch
new file mode 100644
index 000000000000..a1c9c98c4ee4
--- /dev/null
+++ b/dev-cpp/cppserv/files/cppserv-0.2.13-glibc-212.patch
@@ -0,0 +1,12 @@
+http://bugs.gentoo.org/335687
+
+--- src/container/requestlistener.cpp
++++ src/container/requestlistener.cpp
+@@ -29,6 +29,7 @@
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <unistd.h>
++#include <sys/stat.h>
+
+ #include <functional>
+ #include <algorithm>