summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2003-09-28 10:25:25 +0000
committeragc <agc@pkgsrc.org>2003-09-28 10:25:25 +0000
commitc734d9e0b124ee1a9dd9d4e71135e888b62b9e76 (patch)
tree2f873a9a05ba6f80d337ce61365613ec25c64911 /lang
parent05dbbc2ce83d59b49e349f2e069ee06a2cfd9290 (diff)
downloadpkgsrc-c734d9e0b124ee1a9dd9d4e71135e888b62b9e76.tar.gz
Avoid creating multi-line string constants in the generated unicode.c file,
as gcc 3.3.1 has problems with them.
Diffstat (limited to 'lang')
-rw-r--r--lang/wonka/distinfo3
-rw-r--r--lang/wonka/patches/patch-as18
2 files changed, 20 insertions, 1 deletions
diff --git a/lang/wonka/distinfo b/lang/wonka/distinfo
index c0fd6ee02ae..9f74f43a46b 100644
--- a/lang/wonka/distinfo
+++ b/lang/wonka/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2003/07/03 11:04:42 skrll Exp $
+$NetBSD: distinfo,v 1.7 2003/09/28 10:25:25 agc Exp $
SHA1 (wonka-src-0.9.6-release.tar.gz) = 2affc5b0387af97b8e6ea05168834736c3765cf4
Size (wonka-src-0.9.6-release.tar.gz) = 6315866 bytes
@@ -15,3 +15,4 @@ SHA1 (patch-am) = 60ee234ab999e49804ac8cb5d7d2a79c32bd4937
SHA1 (patch-an) = 879dfcde48bd272dbb2968f85c6691237116d0c2
SHA1 (patch-ao) = b70f421279870f2895e75cd0cd4138057132ec50
SHA1 (patch-ar) = c36ea50a35b5af08e585826d7d6ead89de6b3330
+SHA1 (patch-as) = 500808978e3c1e737776192ed849f238f011924d
diff --git a/lang/wonka/patches/patch-as b/lang/wonka/patches/patch-as
new file mode 100644
index 00000000000..0e91b5e3619
--- /dev/null
+++ b/lang/wonka/patches/patch-as
@@ -0,0 +1,18 @@
+$NetBSD: patch-as,v 1.1 2003/09/28 10:25:25 agc Exp $
+
+--- tool/script/unicode.awk 2003/09/28 10:19:19 1.1
++++ tool/script/unicode.awk 2003/09/28 10:20:03
+@@ -1295,11 +1295,11 @@
+ print ""
+ print " if (to_category[try].from == ch) {"
+ print " woempa(7, \"Looking for %04X, found it (category %d) at %d\\n\", ch, to_category[try].to, try);"
+- print " woempa(7, \"Returning ``%w''\n\", category_name[to_category[try].to]);"
++ print " woempa(7, \"Returning ``%w''\\n\", category_name[to_category[try].to]);"
+ print " }"
+ print " else {"
+ print " woempa(7, \"Looking for %04X, found %04X (%d) at %d\\n\", ch, to_category[min].from, to_category[min].to, min);"
+- print " woempa(7, \"Returning ``%w''\n\", category_name[to_category[min].to]);"
++ print " woempa(7, \"Returning ``%w''\\n\", category_name[to_category[min].to]);"
+ print " }"
+ print ""
+ print " return category_name[to_category[to_category[try].from == ch ? try : min].to];"