aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2013-12-09 15:08:42 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2013-12-09 15:08:42 +0000
commit06a93cc0b16df085c8169d712d4becc6e541bdfe (patch)
treec1ce58145648cab922de456b4ef4569815533994 /textproc
parent1dc8cc310f678f1bb631933534502fcbd920e58b (diff)
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/qstardict/files/patch-plugins__stardict__lib.cpp10
-rw-r--r--textproc/qstardict/files/patch-plugins__stardict__mapfile.hpp10
2 files changed, 20 insertions, 0 deletions
diff --git a/textproc/qstardict/files/patch-plugins__stardict__lib.cpp b/textproc/qstardict/files/patch-plugins__stardict__lib.cpp
new file mode 100644
index 000000000000..6e51056c076c
--- /dev/null
+++ b/textproc/qstardict/files/patch-plugins__stardict__lib.cpp
@@ -0,0 +1,10 @@
+--- ./plugins/stardict/lib.cpp.orig 2011-12-05 12:40:49.000000000 +0000
++++ ./plugins/stardict/lib.cpp 2013-12-09 11:22:18.738921230 +0000
+@@ -9,6 +9,7 @@
+ #include <sys/stat.h>
+ #include <zlib.h>
+ #include <glib/gstdio.h>
++#include <stdlib.h>
+
+ #include "distance.h"
+ #include "file.hpp"
diff --git a/textproc/qstardict/files/patch-plugins__stardict__mapfile.hpp b/textproc/qstardict/files/patch-plugins__stardict__mapfile.hpp
new file mode 100644
index 000000000000..6e62537f620d
--- /dev/null
+++ b/textproc/qstardict/files/patch-plugins__stardict__mapfile.hpp
@@ -0,0 +1,10 @@
+--- ./plugins/stardict/mapfile.hpp.orig 2011-12-05 12:40:49.000000000 +0000
++++ ./plugins/stardict/mapfile.hpp 2013-12-07 17:36:45.942541049 +0000
+@@ -9,6 +9,7 @@
+ # include <sys/types.h>
+ # include <fcntl.h>
+ # include <sys/mman.h>
++# include <unistd.h>
+ #endif
+ #ifdef _WIN32
+ # include <windows.h>