From a13969a54486811b87fd9723aed61a8da578aacd Mon Sep 17 00:00:00 2001 From: Nathan Johnson Date: Sun, 28 Feb 2016 07:31:20 -0600 Subject: testing/libcouchbase: new aport http://developer.couchbase.com/community C client library for Couchbase NoSQL database --- testing/libcouchbase/fix_snappy.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 testing/libcouchbase/fix_snappy.patch (limited to 'testing/libcouchbase/fix_snappy.patch') 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"; -- cgit v1.2.3