aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/sablotron/files/patch-engine-utf8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/sablotron/files/patch-engine-utf8.cpp')
-rw-r--r--textproc/sablotron/files/patch-engine-utf8.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/textproc/sablotron/files/patch-engine-utf8.cpp b/textproc/sablotron/files/patch-engine-utf8.cpp
new file mode 100644
index 000000000000..2e74e7d36b64
--- /dev/null
+++ b/textproc/sablotron/files/patch-engine-utf8.cpp
@@ -0,0 +1,15 @@
+diff -crN Sablot-0.51.orig/Sablot/engine/utf8.cpp Sablot-0.51/Sablot/engine/utf8.cpp
+*** Sablot/engine/utf8.cpp Fri Feb 23 15:03:03 2001
+--- Sablot/engine/utf8.cpp Fri Feb 23 15:02:23 2001
+***************
+*** 55,61 ****
+--- 55,63 ----
+ #include "utf8.h"
+
+ #ifdef HAVE_ICONV_H
++ extern "C" {
+ #include <iconv.h>
++ }
+ #endif
+
+ #if defined(HAVE_WCHAR_H) || defined(_MSC_VER)