aboutsummaryrefslogtreecommitdiffstats
path: root/databases/leofs
diff options
context:
space:
mode:
authortrociny <trociny@FreeBSD.org>2015-06-06 16:46:27 +0800
committertrociny <trociny@FreeBSD.org>2015-06-06 16:46:27 +0800
commitfa6af7440aa3134273689db635f86e5c1bdaff7d (patch)
tree75f9785bac5d516acfce1867e3c4da04aa61f856 /databases/leofs
parent7e92ae8927b37e3ef09586b8c55adf22849f297f (diff)
downloadfreebsd-ports-gnome-fa6af7440aa3134273689db635f86e5c1bdaff7d.tar.gz
freebsd-ports-gnome-fa6af7440aa3134273689db635f86e5c1bdaff7d.tar.zst
freebsd-ports-gnome-fa6af7440aa3134273689db635f86e5c1bdaff7d.zip
Fix build on systems without gcc.
Diffstat (limited to 'databases/leofs')
-rw-r--r--databases/leofs/files/patch-deps-leveldb-include-leveldb-env.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/leofs/files/patch-deps-leveldb-include-leveldb-env.h b/databases/leofs/files/patch-deps-leveldb-include-leveldb-env.h
new file mode 100644
index 000000000000..b3e6ba99efcf
--- /dev/null
+++ b/databases/leofs/files/patch-deps-leveldb-include-leveldb-env.h
@@ -0,0 +1,11 @@
+--- deps/leveldb/include/leveldb/env.h.orig 2015-06-06 06:41:04.463152255 +0000
++++ deps/leveldb/include/leveldb/env.h 2015-06-06 06:46:21.094442005 +0000
+@@ -13,6 +13,8 @@
+ #ifndef STORAGE_LEVELDB_INCLUDE_ENV_H_
+ #define STORAGE_LEVELDB_INCLUDE_ENV_H_
+
++#include <pthread.h>
++
+ #include <cstdarg>
+ #include <string>
+ #include <vector>