summaryrefslogtreecommitdiff
path: root/lang/ptoc/files/patch-ac
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>2000-02-12 20:54:54 +0000
committerChris Piazza <cpiazza@FreeBSD.org>2000-02-12 20:54:54 +0000
commit28325030d6c4a8941eba3ffb68c7ce581965a20d (patch)
tree8bc175b8e4391c3c9be9516ded11f14ea742f556 /lang/ptoc/files/patch-ac
parentUpdate to version 1.2. (diff)
Fix for NEWGCC and add a new MASTER_SITE
Submitted by: Alexander Langer <alex@big.endian.de>
Notes
Notes: svn path=/head/; revision=25709
Diffstat (limited to 'lang/ptoc/files/patch-ac')
-rw-r--r--lang/ptoc/files/patch-ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/ptoc/files/patch-ac b/lang/ptoc/files/patch-ac
new file mode 100644
index 000000000000..e0cc7c3de880
--- /dev/null
+++ b/lang/ptoc/files/patch-ac
@@ -0,0 +1,11 @@
+--- tpexpr.cxx.old Sat Feb 12 17:24:29 2000
++++ tpexpr.cxx Sat Feb 12 17:24:41 2000
+@@ -170,7 +170,7 @@
+ if (!e->is_parameter() && (base == 0 || base == 1)) {
+ t->prepend(dprintf("items(%.*s", n, "****************"));
+ t->copy(e->f_tkn, e->l_tkn);
+- t->prepend(base == 0 ? ")-1" : ")");
++ t->prepend(base == 0 ? (char *) ")-1" : (char *) ")");
+ } else {
+ if (high == NULL) {
+ assert(high_expr != NULL);