summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-04-20 09:37:12 +0000
committerMike Frysinger <vapier@gentoo.org>2008-04-20 09:37:12 +0000
commitd3c6543654ff6552ae8639cf91d05335acf82f02 (patch)
tree379f367b2cd1acd1e19b88295a766ed03949176e /dev-util/xxdiff
parentVersion bump. (diff)
downloadhistorical-d3c6543654ff6552ae8639cf91d05335acf82f02.tar.gz
historical-d3c6543654ff6552ae8639cf91d05335acf82f02.tar.bz2
historical-d3c6543654ff6552ae8639cf91d05335acf82f02.zip
Add fix from Debian for building with gcc-4.3 #214181 by Peter Alfredsen.
Package-Manager: portage-2.2_pre5
Diffstat (limited to 'dev-util/xxdiff')
-rw-r--r--dev-util/xxdiff/ChangeLog8
-rw-r--r--dev-util/xxdiff/files/xxdiff-3.2-gcc43.patch16
-rw-r--r--dev-util/xxdiff/xxdiff-3.2-r1.ebuild6
3 files changed, 25 insertions, 5 deletions
diff --git a/dev-util/xxdiff/ChangeLog b/dev-util/xxdiff/ChangeLog
index 5d6a57022850..ffc19194d2c4 100644
--- a/dev-util/xxdiff/ChangeLog
+++ b/dev-util/xxdiff/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/xxdiff
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/xxdiff/ChangeLog,v 1.45 2008/03/18 19:57:26 armin76 Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/xxdiff/ChangeLog,v 1.46 2008/04/20 09:37:11 vapier Exp $
+
+ 20 Apr 2008; Mike Frysinger <vapier@gentoo.org>
+ +files/xxdiff-3.2-gcc43.patch, xxdiff-3.2-r1.ebuild:
+ Add fix from Debian for building with gcc-4.3 #214181 by Peter Alfredsen.
18 Mar 2008; Raúl Porcel <armin76@gentoo.org> -xxdiff-3.0.2-r1.ebuild,
-xxdiff-3.2.ebuild, xxdiff-3.2-r1.ebuild:
diff --git a/dev-util/xxdiff/files/xxdiff-3.2-gcc43.patch b/dev-util/xxdiff/files/xxdiff-3.2-gcc43.patch
new file mode 100644
index 000000000000..df56a5ff9e9c
--- /dev/null
+++ b/dev-util/xxdiff/files/xxdiff-3.2-gcc43.patch
@@ -0,0 +1,16 @@
+fix from Debian for building with gcc-4.3
+
+http://bugs.gentoo.org/214181
+
+--- xxdiff-3.2/src/resources.inline.h
++++ xxdiff-3.2/src/resources.inline.h
+@@ -20,6 +20,8 @@
+ *
+ ******************************************************************************/
+
++#include <cstdlib>
++
+ /*==============================================================================
+ * EXTERNAL DECLARATIONS
+ *============================================================================*/
+
diff --git a/dev-util/xxdiff/xxdiff-3.2-r1.ebuild b/dev-util/xxdiff/xxdiff-3.2-r1.ebuild
index 8529fad20d7f..f3aba4877e7f 100644
--- a/dev-util/xxdiff/xxdiff-3.2-r1.ebuild
+++ b/dev-util/xxdiff/xxdiff-3.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/xxdiff/xxdiff-3.2-r1.ebuild,v 1.5 2008/03/18 19:57:26 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/xxdiff/xxdiff-3.2-r1.ebuild,v 1.6 2008/04/20 09:37:11 vapier Exp $
EAPI="1"
@@ -17,11 +17,9 @@ IUSE="kde python debug"
RDEPEND="=x11-libs/qt-3*
kde? ( kde-base/kdelibs:3.5 )"
-
DEPEND="${RDEPEND}
sys-devel/flex
|| ( sys-devel/bison dev-util/yacc )"
-
RDEPEND="${RDEPEND}
sys-apps/diffutils"
@@ -29,6 +27,8 @@ set-kdedir 3
src_unpack() {
unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc43.patch #214181
if use kde; then
cd "${S}/src"