summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gall <tgall@gentoo.org>2004-04-26 02:40:04 +0000
committerTom Gall <tgall@gentoo.org>2004-04-26 02:40:04 +0000
commite06b447f56eb22bad07a37f4cd02ada20df5434f (patch)
tree4b7b81d5a1ad215c1a016c5da2670391e86cdd41 /sys-apps/gawk
parentphear the arm (diff)
downloadgentoo-2-e06b447f56eb22bad07a37f4cd02ada20df5434f.tar.gz
gentoo-2-e06b447f56eb22bad07a37f4cd02ada20df5434f.tar.bz2
gentoo-2-e06b447f56eb22bad07a37f4cd02ada20df5434f.zip
fix bug 48990, affects all 64 bit architectures
Diffstat (limited to 'sys-apps/gawk')
-rw-r--r--sys-apps/gawk/ChangeLog5
-rw-r--r--sys-apps/gawk/files/64bitnumfile.patch11
-rw-r--r--sys-apps/gawk/gawk-3.1.3-r1.ebuild3
3 files changed, 17 insertions, 2 deletions
diff --git a/sys-apps/gawk/ChangeLog b/sys-apps/gawk/ChangeLog
index 8b2bba0a33c6..c044c93bdc96 100644
--- a/sys-apps/gawk/ChangeLog
+++ b/sys-apps/gawk/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/gawk
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/ChangeLog,v 1.37 2004/03/07 10:32:27 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/ChangeLog,v 1.38 2004/04/26 02:40:04 tgall Exp $
+
+ 25 Apr 2004; Tom Gall <tgall@gentoo.org> gawk-3.1.3-r1.ebuild:
+ fix bug 48990 -- affects all 64 bit architectures
07 Mar 2004; Joshua Kinard <kumba@gentoo.org> gawk-3.1.1-r2.ebuild,
gawk-3.1.2-r3.ebuild, gawk-3.1.3-r1.ebuild, gawk-3.1.3.ebuild:
diff --git a/sys-apps/gawk/files/64bitnumfile.patch b/sys-apps/gawk/files/64bitnumfile.patch
new file mode 100644
index 000000000000..7afc9bffd873
--- /dev/null
+++ b/sys-apps/gawk/files/64bitnumfile.patch
@@ -0,0 +1,11 @@
+--- gawk-3.1.3/awkgram.y.orig 2004-04-26 02:14:03.126892264 -0500
++++ gawk-3.1.3/awkgram.y 2004-04-26 02:14:47.071001704 -0500
+@@ -90,7 +90,7 @@
+ extern char *source;
+ extern int sourceline;
+ extern struct src *srcfiles;
+-extern int numfiles;
++extern long numfiles;
+ extern int errcount;
+ extern NODE *begin_block;
+ extern NODE *end_block;
diff --git a/sys-apps/gawk/gawk-3.1.3-r1.ebuild b/sys-apps/gawk/gawk-3.1.3-r1.ebuild
index 8d3fefddb443..b081da5ded52 100644
--- a/sys-apps/gawk/gawk-3.1.3-r1.ebuild
+++ b/sys-apps/gawk/gawk-3.1.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/gawk-3.1.3-r1.ebuild,v 1.9 2004/04/24 09:20:52 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/gawk-3.1.3-r1.ebuild,v 1.10 2004/04/26 02:40:04 tgall Exp $
inherit eutils
@@ -25,6 +25,7 @@ src_unpack() {
cd ${S}
# support for dec compiler.
[ "${CC}" == "ccc" ] && epatch ${FILESDIR}/${PN}-3.1.2-dec-alpha-compiler.diff
+ epatch ${FILESDIR}/64bitnumfile.patch
}
src_compile() {