aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2006-04-21 02:34:10 +0800
committerale <ale@FreeBSD.org>2006-04-21 02:34:10 +0800
commit9029f5d754052df11b9c588da63704ecdbd00151 (patch)
tree3e02f858feae85263da0059b4ea7e8b83d72100a
parent49b24a143d65b27ccc5aed97a82efb6d6a41755e (diff)
downloadfreebsd-ports-gnome-9029f5d754052df11b9c588da63704ecdbd00151.tar.gz
freebsd-ports-gnome-9029f5d754052df11b9c588da63704ecdbd00151.tar.zst
freebsd-ports-gnome-9029f5d754052df11b9c588da63704ecdbd00151.zip
Fix build with new fribidi library.
-rw-r--r--converters/pecl-fribidi/files/patch-fribidi.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/converters/pecl-fribidi/files/patch-fribidi.c b/converters/pecl-fribidi/files/patch-fribidi.c
new file mode 100644
index 000000000000..1377b7dcf360
--- /dev/null
+++ b/converters/pecl-fribidi/files/patch-fribidi.c
@@ -0,0 +1,20 @@
+--- fribidi.c.orig Thu Apr 20 20:32:11 2006
++++ fribidi.c Thu Apr 20 20:32:20 2006
+@@ -32,7 +32,7 @@
+ #include <fribidi/fribidi.h>
+
+ /* The fribidi guys dont believe in BC */
+-/*#ifndef FRIBIDI_CHARSET_UTF8
++#ifndef FRIBIDI_CHARSET_UTF8
+ #define FRIBIDI_CHARSET_UTF8 FRIBIDI_CHAR_SET_UTF8
+ #define FRIBIDI_CHARSET_ISO8859_6 FRIBIDI_CHAR_SET_ISO8859_6
+ #define FRIBIDI_CHARSET_ISO8859_8 FRIBIDI_CHAR_SET_ISO8859_8
+@@ -40,7 +40,7 @@
+ #define FRIBIDI_CHARSET_CP1256 FRIBIDI_CHAR_SET_CP1256
+ #define FRIBIDI_CHARSET_ISIRI_3342 FRIBIDI_CHAR_SET_ISIRI_3342
+ #define FRIBIDI_CHARSET_CAP_RTL FRIBIDI_CHAR_SET_CAP_RTL
+-#endif*/
++#endif
+
+ function_entry fribidi_functions[] = {
+ PHP_FE(fribidi_log2vis, NULL)