diff options
author | rakuco <rakuco@FreeBSD.org> | 2013-12-25 01:41:24 +0800 |
---|---|---|
committer | rakuco <rakuco@FreeBSD.org> | 2013-12-25 01:41:24 +0800 |
commit | 3ef8f2c31023fd832d4a7ea32cf9ab0c59a2b826 (patch) | |
tree | 2ec314f9ecb5b93e56c160446eb6d2452cc0ee0c /textproc/soothsayer | |
parent | 5a95f43238b493d29e495c32bbe78b8685993c94 (diff) | |
download | freebsd-ports-gnome-3ef8f2c31023fd832d4a7ea32cf9ab0c59a2b826.tar.gz freebsd-ports-gnome-3ef8f2c31023fd832d4a7ea32cf9ab0c59a2b826.tar.zst freebsd-ports-gnome-3ef8f2c31023fd832d4a7ea32cf9ab0c59a2b826.zip |
Fix the build with clang.
Diffstat (limited to 'textproc/soothsayer')
-rw-r--r-- | textproc/soothsayer/files/patch-src__lib__core__profileManager.cpp | 11 | ||||
-rw-r--r-- | textproc/soothsayer/files/patch-src__lib__core__utility.cpp | 10 |
2 files changed, 21 insertions, 0 deletions
diff --git a/textproc/soothsayer/files/patch-src__lib__core__profileManager.cpp b/textproc/soothsayer/files/patch-src__lib__core__profileManager.cpp new file mode 100644 index 000000000000..ef705eb67b5b --- /dev/null +++ b/textproc/soothsayer/files/patch-src__lib__core__profileManager.cpp @@ -0,0 +1,11 @@ +--- src/lib/core/profileManager.cpp.orig 2013-12-24 19:38:41.000000000 +0200 ++++ src/lib/core/profileManager.cpp 2013-12-24 19:39:06.000000000 +0200 +@@ -31,6 +31,8 @@ + #endif + + #include <stdlib.h> ++#include <unistd.h> ++#include <sys/types.h> + + /** Constructor. + * diff --git a/textproc/soothsayer/files/patch-src__lib__core__utility.cpp b/textproc/soothsayer/files/patch-src__lib__core__utility.cpp new file mode 100644 index 000000000000..32d1834826a3 --- /dev/null +++ b/textproc/soothsayer/files/patch-src__lib__core__utility.cpp @@ -0,0 +1,10 @@ +--- ./src/lib/core/utility.cpp.orig 2013-12-24 19:36:58.000000000 +0200 ++++ ./src/lib/core/utility.cpp 2013-12-24 19:37:26.000000000 +0200 +@@ -22,6 +22,7 @@ + **********(*)*/ + + #include "utility.h" ++#include <cstdlib> + + + /** Convert string to lower case |