summaryrefslogtreecommitdiff
path: root/devel/libmemcached/patches/patch-tests_libmemcached-1.0_ketama.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libmemcached/patches/patch-tests_libmemcached-1.0_ketama.cc')
-rw-r--r--devel/libmemcached/patches/patch-tests_libmemcached-1.0_ketama.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/libmemcached/patches/patch-tests_libmemcached-1.0_ketama.cc b/devel/libmemcached/patches/patch-tests_libmemcached-1.0_ketama.cc
new file mode 100644
index 00000000000..0ea40d4b752
--- /dev/null
+++ b/devel/libmemcached/patches/patch-tests_libmemcached-1.0_ketama.cc
@@ -0,0 +1,20 @@
+$NetBSD: patch-tests_libmemcached-1.0_ketama.cc,v 1.1 2013/05/09 13:50:54 joerg Exp $
+
+--- tests/libmemcached-1.0/ketama.cc.orig 2013-05-05 20:35:41.000000000 +0000
++++ tests/libmemcached-1.0/ketama.cc
+@@ -33,6 +33,7 @@
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ */
++#define __STDC_CONSTANT_MACROS
+
+ #include <config.h>
+ #include <libtest/test.hpp>
+@@ -43,6 +44,7 @@
+
+ #include <tests/ketama.h>
+ #include <tests/ketama_test_cases.h>
++#include <cstdint>
+
+ test_return_t ketama_compatibility_libmemcached(memcached_st *)
+ {