summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2008-11-06 19:23:26 +0000
committerAlfredo Tupone <tupone@gentoo.org>2008-11-06 19:23:26 +0000
commit52dea48dd0c9f5258e6d1dd4a6af8977b81600bc (patch)
treed57e1f569498e60256f2c5e79821de3acf8b6f3e /media-libs/varconf
parentBump to kvm-78 (diff)
downloadgentoo-2-52dea48dd0c9f5258e6d1dd4a6af8977b81600bc.tar.gz
gentoo-2-52dea48dd0c9f5258e6d1dd4a6af8977b81600bc.tar.bz2
gentoo-2-52dea48dd0c9f5258e6d1dd4a6af8977b81600bc.zip
Missing include. Bug #245667
(Portage version: 2.1.4.5)
Diffstat (limited to 'media-libs/varconf')
-rw-r--r--media-libs/varconf/ChangeLog6
-rw-r--r--media-libs/varconf/files/varconf-0.6.5-gcc43.patch10
-rw-r--r--media-libs/varconf/varconf-0.6.5.ebuild12
3 files changed, 25 insertions, 3 deletions
diff --git a/media-libs/varconf/ChangeLog b/media-libs/varconf/ChangeLog
index 8749f21067ff..5741b3d8936e 100644
--- a/media-libs/varconf/ChangeLog
+++ b/media-libs/varconf/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/varconf
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/varconf/ChangeLog,v 1.23 2008/08/30 13:37:38 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/varconf/ChangeLog,v 1.24 2008/11/06 19:23:26 tupone Exp $
+
+ 06 Nov 2008; Tupone Alfredo <tupone@gentoo.org>
+ +files/varconf-0.6.5-gcc43.patch, varconf-0.6.5.ebuild:
+ Missing include. Bug #245667 by Sandro Bonazzola
30 Aug 2008; <tupone@gentoo.org> -varconf-0.6.2.ebuild:
0.6.2 version removed as not used
diff --git a/media-libs/varconf/files/varconf-0.6.5-gcc43.patch b/media-libs/varconf/files/varconf-0.6.5-gcc43.patch
new file mode 100644
index 000000000000..c86c6c21640e
--- /dev/null
+++ b/media-libs/varconf/files/varconf-0.6.5-gcc43.patch
@@ -0,0 +1,10 @@
+--- varconf/variable.cpp.old 2008-11-06 19:42:50.000000000 +0100
++++ varconf/variable.cpp 2008-11-06 19:46:48.000000000 +0100
+@@ -28,6 +28,7 @@
+
+ #include <string>
+ #include <cstdio>
++#include <stdlib.h>
+
+ #ifdef __WIN32__
+ #include <tchar.h>
diff --git a/media-libs/varconf/varconf-0.6.5.ebuild b/media-libs/varconf/varconf-0.6.5.ebuild
index 0a6172c974f6..caa4a468096a 100644
--- a/media-libs/varconf/varconf-0.6.5.ebuild
+++ b/media-libs/varconf/varconf-0.6.5.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/varconf/varconf-0.6.5.ebuild,v 1.2 2007/05/07 21:58:04 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/varconf/varconf-0.6.5.ebuild,v 1.3 2008/11/06 19:23:26 tupone Exp $
+
+inherit eutils
DESCRIPTION="A configuration system designed for the STAGE server."
SRC_URI="mirror://sourceforge/worldforge/${P}.tar.bz2"
@@ -15,6 +17,12 @@ RDEPEND=">=dev-libs/libsigc++-2.0"
DEPEND="$RDEPEND
dev-util/pkgconfig"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+}
+
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog NEWS README THANKS TODO \