summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2003-05-23 10:57:28 +0000
committerTavis Ormandy <taviso@gentoo.org>2003-05-23 10:57:28 +0000
commiteae8b52613ce8bbe46e0dbff0bc17f62567b0f1e (patch)
treec99d0e33c91b14f466e4515ef8517e3f903e4d49 /sys-apps
parentMissed by repoman (diff)
downloadgentoo-2-eae8b52613ce8bbe46e0dbff0bc17f62567b0f1e.tar.gz
gentoo-2-eae8b52613ce8bbe46e0dbff0bc17f62567b0f1e.tar.bz2
gentoo-2-eae8b52613ce8bbe46e0dbff0bc17f62567b0f1e.zip
ccc support for gawk (alpha)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/gawk/ChangeLog5
-rw-r--r--sys-apps/gawk/Manifest7
-rw-r--r--sys-apps/gawk/files/gawk-3.1.2-dec-alpha-compiler.diff11
-rw-r--r--sys-apps/gawk/gawk-3.1.2-r3.ebuild5
4 files changed, 23 insertions, 5 deletions
diff --git a/sys-apps/gawk/ChangeLog b/sys-apps/gawk/ChangeLog
index 6258ba4718f1..95cb74213b24 100644
--- a/sys-apps/gawk/ChangeLog
+++ b/sys-apps/gawk/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/gawk
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/ChangeLog,v 1.22 2003/05/20 19:52:11 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/ChangeLog,v 1.23 2003/05/23 10:57:20 taviso Exp $
+
+ 23 May 2003; Tavis Ormandy <taviso@gentoo.org> gawk-3.1.2-r3.ebuild:
+ support for ccc (alpha).
20 May 2003; Martin Schlemmer <azarah@gentoo.org> gawk-3.1.2-r3.ebuild :
Mark stable for all, as all issues are fixed, and 3.1.1-r2 with filefuncs
diff --git a/sys-apps/gawk/Manifest b/sys-apps/gawk/Manifest
index 08ae8c4587fc..8258480db383 100644
--- a/sys-apps/gawk/Manifest
+++ b/sys-apps/gawk/Manifest
@@ -1,8 +1,9 @@
-MD5 132ef70668a2f6417cbd2f00f2ef4425 ChangeLog 4545
+MD5 5af81440dbc8ee0caeaf182ee6653c7b gawk-3.1.2-r3.ebuild 2939
+MD5 8f70fd4ab472aa203f252b136aef6d6c ChangeLog 4644
MD5 0c0299ea87325eb6a7220f00aec47776 gawk-3.1.1-r2.ebuild 2426
-MD5 8335af33db212fbdc1b8b6723b166992 gawk-3.1.2-r3.ebuild 2836
-MD5 9ee5f35f388bc0943f9f1df199bdd64d files/digest-gawk-3.1.1-r2 63
MD5 9f439b073b0d1903a54a04dca5aa44af files/gawk-3.1.2-input-filesize.patch 13485
+MD5 9ee5f35f388bc0943f9f1df199bdd64d files/digest-gawk-3.1.1-r2 63
MD5 0a6cc5ae974c8876f6c3e975d7fb95e3 files/digest-gawk-3.1.2-r3 63
+MD5 902778280a822bc755391b7a6c4a1c05 files/gawk-3.1.2-dec-alpha-compiler.diff 451
MD5 8b851d91749c9467b5464628db1dcbfb files/filefuncs/Makefile 948
MD5 6329d35b6c81a6fd70ab4a902af8e0bd files/filefuncs/filefuncs.c 11028
diff --git a/sys-apps/gawk/files/gawk-3.1.2-dec-alpha-compiler.diff b/sys-apps/gawk/files/gawk-3.1.2-dec-alpha-compiler.diff
new file mode 100644
index 000000000000..06b4461b864c
--- /dev/null
+++ b/sys-apps/gawk/files/gawk-3.1.2-dec-alpha-compiler.diff
@@ -0,0 +1,11 @@
+--- gawk-3.1.2.orig/regex.h 2003-02-25 09:58:52.000000000 +0000
++++ gawk-3.1.2/regex.h 2003-05-23 11:31:52.000000000 +0100
+@@ -552,7 +552,7 @@
+
+ extern int regexec _RE_ARGS ((const regex_t *__restrict __preg,
+ const char *__restrict __string, size_t __nmatch,
+- regmatch_t __pmatch[__restrict_arr],
++ regmatch_t __pmatch[],
+ int __eflags));
+
+ extern size_t regerror _RE_ARGS ((int __errcode, const regex_t *__preg,
diff --git a/sys-apps/gawk/gawk-3.1.2-r3.ebuild b/sys-apps/gawk/gawk-3.1.2-r3.ebuild
index b4420bb8ad0d..d3968f618c8c 100644
--- a/sys-apps/gawk/gawk-3.1.2-r3.ebuild
+++ b/sys-apps/gawk/gawk-3.1.2-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 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.2-r3.ebuild,v 1.4 2003/05/20 19:52:11 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/gawk-3.1.2-r3.ebuild,v 1.5 2003/05/23 10:57:20 taviso Exp $
IUSE="nls build"
@@ -31,6 +31,9 @@ src_unpack() {
# a bizarre case. The following patch fixes the problem, thanks to
# Arnold D. Robbins (Maintainer of gawk).
epatch ${FILESDIR}/${P}-input-filesize.patch
+
+ # support for dec compiler.
+ [ "${CC}" == "ccc" ] && epatch ${FILESDIR}/${P}-dec-alpha-compiler.diff
}
src_compile() {