pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/wonka Avoid creating multi-line string constants ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c8fec847bbb5
branches:  trunk
changeset: 462219:c8fec847bbb5
user:      agc <agc%pkgsrc.org@localhost>
date:      Sun Sep 28 10:25:25 2003 +0000

description:
Avoid creating multi-line string constants in the generated unicode.c file,
as gcc 3.3.1 has problems with them.

diffstat:

 lang/wonka/distinfo         |   3 ++-
 lang/wonka/patches/patch-as |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 073b9213a1db -r c8fec847bbb5 lang/wonka/distinfo
--- a/lang/wonka/distinfo       Sun Sep 28 10:09:58 2003 +0000
+++ b/lang/wonka/distinfo       Sun Sep 28 10:25:25 2003 +0000
@@ -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-an) = 879dfcde48bd272dbb2968f85c6691237116d0c2
 SHA1 (patch-ao) = b70f421279870f2895e75cd0cd4138057132ec50
 SHA1 (patch-ar) = c36ea50a35b5af08e585826d7d6ead89de6b3330
+SHA1 (patch-as) = 500808978e3c1e737776192ed849f238f011924d
diff -r 073b9213a1db -r c8fec847bbb5 lang/wonka/patches/patch-as
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/wonka/patches/patch-as       Sun Sep 28 10:25:25 2003 +0000
@@ -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];"



Home | Main Index | Thread Index | Old Index