aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libcouchbase/fix_snappy.patch
diff options
context:
space:
mode:
authorNathan Johnson <nathan@nathanjohnson.info>2016-02-28 07:31:20 -0600
committerTimo Teräs <timo.teras@iki.fi>2016-03-01 06:29:54 +0000
commita13969a54486811b87fd9723aed61a8da578aacd (patch)
tree3d2a23e2c54f2eff316dcddaf02ca2c9e0b60a1b /testing/libcouchbase/fix_snappy.patch
parentaabc2e9dcd5a60a938455800c79d3f50c4a01a68 (diff)
downloadaports-a13969a54486811b87fd9723aed61a8da578aacd.tar.bz2
aports-a13969a54486811b87fd9723aed61a8da578aacd.tar.xz
testing/libcouchbase: new aport
http://developer.couchbase.com/community C client library for Couchbase NoSQL database
Diffstat (limited to 'testing/libcouchbase/fix_snappy.patch')
-rw-r--r--testing/libcouchbase/fix_snappy.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/libcouchbase/fix_snappy.patch b/testing/libcouchbase/fix_snappy.patch
new file mode 100644
index 0000000000..7756296a25
--- /dev/null
+++ b/testing/libcouchbase/fix_snappy.patch
@@ -0,0 +1,12 @@
+--- a/cmake/configure
++++ b/cmake/configure
+@@ -285,6 +285,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 ($STATIC_SNAPPY) {
+ push @CM_OPTIONS, "-DLCB_STATIC_SNAPPY";