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..41ba9deea3da
--- /dev/null
+++ b/textproc/sablotron/files/patch-engine-utf8.cpp
@@ -0,0 +1,15 @@
+diff -cr ../Sablot-0.44/Sablot/engine/utf8.cpp Sablot/engine/utf8.cpp
+*** ../Sablot-0.44/Sablot/engine/utf8.cpp Sun Nov 12 16:21:25 2000
+--- Sablot/engine/utf8.cpp Sun Nov 12 17:29:08 2000
+***************
+*** 38,44 ****
+--- 38,46 ----
+ #include "utf8.h"
+
+ #ifdef HAVE_ICONV_H
++ extern "C" {
+ #include <iconv.h>
++ }
+ #endif
+
+ /* This MUST match the Encoding enum defined in utf8.h */