summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2008-06-16 20:30:54 +0000
committerTiziano Müller <dev-zero@gentoo.org>2008-06-16 20:30:54 +0000
commitec53d4442f10124307d3898c1182953311425197 (patch)
tree370732f90f4fea2d75f4f21aead72986914757b3 /dev-cpp/poslib
parentfixup manifest (diff)
downloadgentoo-2-ec53d4442f10124307d3898c1182953311425197.tar.gz
gentoo-2-ec53d4442f10124307d3898c1182953311425197.tar.bz2
gentoo-2-ec53d4442f10124307d3898c1182953311425197.zip
Fixed glibc-2.8 compilation problem (bug #227483).
(Portage version: 2.1.5.5)
Diffstat (limited to 'dev-cpp/poslib')
-rw-r--r--dev-cpp/poslib/ChangeLog6
-rw-r--r--dev-cpp/poslib/files/1.0.6-missing_includes.patch11
-rw-r--r--dev-cpp/poslib/poslib-1.0.6.ebuild11
3 files changed, 25 insertions, 3 deletions
diff --git a/dev-cpp/poslib/ChangeLog b/dev-cpp/poslib/ChangeLog
index e30a5c2a70bc..d43fe73a9605 100644
--- a/dev-cpp/poslib/ChangeLog
+++ b/dev-cpp/poslib/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-cpp/poslib
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/poslib/ChangeLog,v 1.20 2008/04/04 01:19:21 halcy0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/poslib/ChangeLog,v 1.21 2008/06/16 20:30:53 dev-zero Exp $
+
+ 16 Jun 2008; Tiziano Müller <dev-zero@gentoo.org>
+ +files/1.0.6-missing_includes.patch, poslib-1.0.6.ebuild:
+ Fixed glibc-2.8 compilation problem (bug #227483).
04 Apr 2008; Mark Loeser <halcy0n@gentoo.org> poslib-1.0.6.ebuild:
Fix homepage; bug #212615
diff --git a/dev-cpp/poslib/files/1.0.6-missing_includes.patch b/dev-cpp/poslib/files/1.0.6-missing_includes.patch
new file mode 100644
index 000000000000..5c0583f74669
--- /dev/null
+++ b/dev-cpp/poslib/files/1.0.6-missing_includes.patch
@@ -0,0 +1,11 @@
+diff -Naur poslib-1.0.6.orig/tools/fileclient.cpp poslib-1.0.6/tools/fileclient.cpp
+--- poslib-1.0.6.orig/tools/fileclient.cpp 2008-06-16 22:24:29.000000000 +0200
++++ poslib-1.0.6/tools/fileclient.cpp 2008-06-16 22:27:01.000000000 +0200
+@@ -18,6 +18,7 @@
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
++#include <limits.h>
+ #include <poslib/poslib.h>
+
+ int main(int argc, char **argv) {
diff --git a/dev-cpp/poslib/poslib-1.0.6.ebuild b/dev-cpp/poslib/poslib-1.0.6.ebuild
index e26e3921194f..50cbc1b9581b 100644
--- a/dev-cpp/poslib/poslib-1.0.6.ebuild
+++ b/dev-cpp/poslib/poslib-1.0.6.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/poslib/poslib-1.0.6.ebuild,v 1.8 2008/04/04 01:19:21 halcy0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/poslib/poslib-1.0.6.ebuild,v 1.9 2008/06/16 20:30:53 dev-zero Exp $
-inherit flag-o-matic
+inherit flag-o-matic eutils
DESCRIPTION="A library for creating C++ programs using the Domain Name System"
HOMEPAGE="http://posadis.sourceforge.net/"
@@ -14,6 +14,13 @@ KEYWORDS="amd64 ppc x86"
IUSE="ipv6"
DEPEND=""
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${PV}-missing_includes.patch"
+}
src_compile() {
append-flags -funsigned-char