summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorjoerg <joerg>2012-01-23 08:07:17 +0000
committerjoerg <joerg>2012-01-23 08:07:17 +0000
commitf7f8bb7d8304bec1185435c9f941ebb8f07f4698 (patch)
tree65938cde392f2bdd3afcb404ad2e0546535ba5c5 /converters
parent7207311dc71413d4689693d7ef0b4ae560acb126 (diff)
downloadpkgsrc-f7f8bb7d8304bec1185435c9f941ebb8f07f4698.tar.gz
Don't use non-ASCII character literals.
Diffstat (limited to 'converters')
-rw-r--r--converters/fribidi/distinfo7
-rw-r--r--converters/fribidi/patches/patch-fribidi__char__sets__cp1255.c13
-rw-r--r--converters/fribidi/patches/patch-fribidi__char__sets__cp1256.c13
-rw-r--r--converters/fribidi/patches/patch-fribidi__char__sets__isiri__3342.c13
-rw-r--r--converters/fribidi/patches/patch-fribidi__char__sets__iso8859__6.c16
-rw-r--r--converters/fribidi/patches/patch-fribidi__char__sets__iso8859__8.c13
6 files changed, 74 insertions, 1 deletions
diff --git a/converters/fribidi/distinfo b/converters/fribidi/distinfo
index dc0e7092a84..ef10462493b 100644
--- a/converters/fribidi/distinfo
+++ b/converters/fribidi/distinfo
@@ -1,5 +1,10 @@
-$NetBSD: distinfo,v 1.4 2008/08/02 11:35:41 bjs Exp $
+$NetBSD: distinfo,v 1.5 2012/01/23 08:07:17 joerg Exp $
SHA1 (fribidi-0.10.9.tar.gz) = f9aae2d2084eaccbc87760401c4521e96a92a436
RMD160 (fribidi-0.10.9.tar.gz) = 31495fecd4318f9bd6217b015f65a936389c3204
Size (fribidi-0.10.9.tar.gz) = 621563 bytes
+SHA1 (patch-fribidi__char__sets__cp1255.c) = 87545e71f9dcf0d62e29f2796f4ebbf9562de9a7
+SHA1 (patch-fribidi__char__sets__cp1256.c) = 06b589fe2956d74a75387d1495a3b04b293ae539
+SHA1 (patch-fribidi__char__sets__isiri__3342.c) = a519e0cd26d1e715dce3d004d849584009f54d01
+SHA1 (patch-fribidi__char__sets__iso8859__6.c) = 1acda158007088e338bfd618bb9d43f8c310690e
+SHA1 (patch-fribidi__char__sets__iso8859__8.c) = d092261f36d9360efe2d148d8ba0eccda278255f
diff --git a/converters/fribidi/patches/patch-fribidi__char__sets__cp1255.c b/converters/fribidi/patches/patch-fribidi__char__sets__cp1255.c
new file mode 100644
index 00000000000..fe4d5a2e93d
--- /dev/null
+++ b/converters/fribidi/patches/patch-fribidi__char__sets__cp1255.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-fribidi__char__sets__cp1255.c,v 1.1 2012/01/23 08:07:17 joerg Exp $
+
+--- fribidi_char_sets_cp1255.c.orig 2012-01-22 21:57:13.000000000 +0000
++++ fribidi_char_sets_cp1255.c
+@@ -93,7 +93,7 @@ fribidi_unicode_to_cp1255_c (FriBidiChar
+ else if (uch < 256)
+ return (char) uch;
+ else
+- return '¿';
++ return (char) 0xbf;
+ }
+
+ int
diff --git a/converters/fribidi/patches/patch-fribidi__char__sets__cp1256.c b/converters/fribidi/patches/patch-fribidi__char__sets__cp1256.c
new file mode 100644
index 00000000000..123127ef351
--- /dev/null
+++ b/converters/fribidi/patches/patch-fribidi__char__sets__cp1256.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-fribidi__char__sets__cp1256.c,v 1.1 2012/01/23 08:07:17 joerg Exp $
+
+--- fribidi_char_sets_cp1256.c.orig 2012-01-22 21:58:14.000000000 +0000
++++ fribidi_char_sets_cp1256.c
+@@ -211,7 +211,7 @@ fribidi_unicode_to_cp1256_c (FriBidiChar
+ return (char) 0x99;
+
+ default:
+- return '¿';
++ return (char) 0xbf;
+ }
+ }
+
diff --git a/converters/fribidi/patches/patch-fribidi__char__sets__isiri__3342.c b/converters/fribidi/patches/patch-fribidi__char__sets__isiri__3342.c
new file mode 100644
index 00000000000..aad60bf3b40
--- /dev/null
+++ b/converters/fribidi/patches/patch-fribidi__char__sets__isiri__3342.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-fribidi__char__sets__isiri__3342.c,v 1.1 2012/01/23 08:07:17 joerg Exp $
+
+--- fribidi_char_sets_isiri_3342.c.orig 2012-01-22 21:58:31.000000000 +0000
++++ fribidi_char_sets_isiri_3342.c
+@@ -213,7 +213,7 @@ fribidi_unicode_to_isiri_3342_c (FriBidi
+ case 0x200D:
+ return (char) 0xA2;
+ default:
+- return '¿';
++ return (char) 0xbf;
+ }
+ }
+
diff --git a/converters/fribidi/patches/patch-fribidi__char__sets__iso8859__6.c b/converters/fribidi/patches/patch-fribidi__char__sets__iso8859__6.c
new file mode 100644
index 00000000000..b2d814b2dcc
--- /dev/null
+++ b/converters/fribidi/patches/patch-fribidi__char__sets__iso8859__6.c
@@ -0,0 +1,16 @@
+$NetBSD: patch-fribidi__char__sets__iso8859__6.c,v 1.1 2012/01/23 08:07:17 joerg Exp $
+
+--- fribidi_char_sets_iso8859_6.c.orig 2012-01-22 21:53:52.000000000 +0000
++++ fribidi_char_sets_iso8859_6.c
+@@ -66,10 +66,8 @@ fribidi_unicode_to_iso8859_6_c (FriBidiC
+ return (char) 0xac;
+ else if (uch == 0x061b)
+ return (char) 0xbb;
+- else if (uch == 0x061f)
+- return (char) 0xbf;
+ else
+- return '¿';
++ return (char) 0xbf;
+ }
+
+ int
diff --git a/converters/fribidi/patches/patch-fribidi__char__sets__iso8859__8.c b/converters/fribidi/patches/patch-fribidi__char__sets__iso8859__8.c
new file mode 100644
index 00000000000..2ddcfa1c97d
--- /dev/null
+++ b/converters/fribidi/patches/patch-fribidi__char__sets__iso8859__8.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-fribidi__char__sets__iso8859__8.c,v 1.1 2012/01/23 08:07:17 joerg Exp $
+
+--- fribidi_char_sets_iso8859_8.c.orig 2012-01-22 21:56:52.000000000 +0000
++++ fribidi_char_sets_iso8859_8.c
+@@ -106,7 +106,7 @@ fribidi_unicode_to_iso8859_8_c (FriBidiC
+ case UNI_PDF:
+ return (char) ISO_8859_8_PDF;
+ }
+- return '¿';
++ return (char)0xbf;
+ }
+
+ int