aboutsummaryrefslogtreecommitdiffstats
path: root/community/libcouchbase/fix_snappy.patch
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2017-03-22 01:35:57 +0200
committerTimo Teräs <timo.teras@iki.fi>2017-03-22 06:28:06 +0000
commit5f531b41f25694a64b90938f378d592b150dcd37 (patch)
tree4b180ca849432e5b195ea70b98d93f9b69faea0b /community/libcouchbase/fix_snappy.patch
parent5362b4e79d99ab947e430d898e0ed0b7199385bd (diff)
downloadaports-5f531b41f25694a64b90938f378d592b150dcd37.tar.bz2
aports-5f531b41f25694a64b90938f378d592b150dcd37.tar.xz
community/libcouchbase: moved from testing
- would be need to build community/php7-couchbase
Diffstat (limited to 'community/libcouchbase/fix_snappy.patch')
-rw-r--r--community/libcouchbase/fix_snappy.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/libcouchbase/fix_snappy.patch b/community/libcouchbase/fix_snappy.patch
new file mode 100644
index 0000000000..5e4281b186
--- /dev/null
+++ b/community/libcouchbase/fix_snappy.patch
@@ -0,0 +1,12 @@
+--- a/cmake/configure
++++ b/cmake/configure
+@@ -287,6 +287,9 @@
+ }
+ if ($NO_SNAPPY) {
+ push @CM_OPTIONS, "-DLCB_NO_SNAPPY=1";
++} else {
++ # the cmake options default NO_SNAPPY to ON, so this is necessary
++ push @CM_OPTIONS, "-DLCB_NO_SNAPPY=0";
+ }
+ if ($ENABLE_SNAPPY) {
+ push @CM_OPTIONS, "-DLCB_NO_SNAPPY=0";