summaryrefslogtreecommitdiff
path: root/databases/tarantool/files
diff options
context:
space:
mode:
Diffstat (limited to 'databases/tarantool/files')
-rw-r--r--databases/tarantool/files/patch-cmake-FindICONV.cmake15
-rw-r--r--databases/tarantool/files/patch-src-say.c10
2 files changed, 14 insertions, 11 deletions
diff --git a/databases/tarantool/files/patch-cmake-FindICONV.cmake b/databases/tarantool/files/patch-cmake-FindICONV.cmake
index ee19d1bda426..b4e92d86f3e4 100644
--- a/databases/tarantool/files/patch-cmake-FindICONV.cmake
+++ b/databases/tarantool/files/patch-cmake-FindICONV.cmake
@@ -1,18 +1,11 @@
---- cmake/FindICONV.cmake.orig 2018-09-06 16:31:05 UTC
+--- cmake/FindICONV.cmake.orig 2018-10-12 19:53:35 UTC
+++ cmake/FindICONV.cmake
-@@ -4,14 +4,8 @@
+@@ -4,7 +4,7 @@
# ICONV_LIBRARIES
#
-if (TARGET_OS_LINUX)
+if (TARGET_OS_FREEBSD OR TARGET_OS_LINUX)
set(ICONV_LIBRARY "")
--else()
-- find_library(ICONV_LIBRARY iconv)
-- if(NOT ICONV_LIBRARY)
-- message(WARNING "iconv library not found")
-- set(ICONV_LIBRARY "")
-- endif()
- endif()
- find_path(ICONV_INCLUDE_DIR iconv.h)
- if(NOT ICONV_INCLUDE_DIR)
+ else()
+ find_library(ICONV_LIBRARY iconv)
diff --git a/databases/tarantool/files/patch-src-say.c b/databases/tarantool/files/patch-src-say.c
new file mode 100644
index 000000000000..93b45b0ffd35
--- /dev/null
+++ b/databases/tarantool/files/patch-src-say.c
@@ -0,0 +1,10 @@
+--- src/say.c.orig 2018-10-12 19:53:35 UTC
++++ src/say.c
+@@ -37,6 +37,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <netdb.h>
++#include <netinet/in.h>
+ #include <sys/types.h>
+ #include <unistd.h>
+ #include <fcntl.h>