diff options
author | joerg <joerg@pkgsrc.org> | 2013-05-09 13:50:54 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-05-09 13:50:54 +0000 |
commit | c6737fcc00c1c243a1241b7fb8c5c168a6aef89c (patch) | |
tree | d743c4aca9cc438dd340c2fc49f02eb12d7dd316 /devel | |
parent | 7e971c685d0e9d080373c15ec7ad710d58a29da9 (diff) | |
download | pkgsrc-c6737fcc00c1c243a1241b7fb8c5c168a6aef89c.tar.gz |
Give INT64_C and friends a chance of being defined.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libmemcached/distinfo | 4 | ||||
-rw-r--r-- | devel/libmemcached/patches/patch-tests_libmemcached-1.0_ketama.cc | 20 | ||||
-rw-r--r-- | devel/libmemcached/patches/patch-tests_libmemcached-1.0_pool.cc | 21 |
3 files changed, 44 insertions, 1 deletions
diff --git a/devel/libmemcached/distinfo b/devel/libmemcached/distinfo index d6621e48ca8..f2422769778 100644 --- a/devel/libmemcached/distinfo +++ b/devel/libmemcached/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.2 2012/02/07 11:34:00 fhajny Exp $ +$NetBSD: distinfo,v 1.3 2013/05/09 13:50:54 joerg Exp $ SHA1 (libmemcached-1.0.4.tar.gz) = a74644a368b14954c80623879bd722ebf552f857 RMD160 (libmemcached-1.0.4.tar.gz) = 2a9c71cd7894ed1c55d2557fd71fc75b5bc54ceb Size (libmemcached-1.0.4.tar.gz) = 951310 bytes SHA1 (patch-configure) = 9bda748d780dc2b3d0f114e302c04a5f5d3b0eee +SHA1 (patch-tests_libmemcached-1.0_ketama.cc) = 683f338585fbb98ebf405bbaab31be4f3cc0fbe8 +SHA1 (patch-tests_libmemcached-1.0_pool.cc) = 40013631f194c0d42337a84a131296a2d8e966a6 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 *) + { diff --git a/devel/libmemcached/patches/patch-tests_libmemcached-1.0_pool.cc b/devel/libmemcached/patches/patch-tests_libmemcached-1.0_pool.cc new file mode 100644 index 00000000000..f6f08116854 --- /dev/null +++ b/devel/libmemcached/patches/patch-tests_libmemcached-1.0_pool.cc @@ -0,0 +1,21 @@ +$NetBSD: patch-tests_libmemcached-1.0_pool.cc,v 1.1 2013/05/09 13:50:54 joerg Exp $ + +--- tests/libmemcached-1.0/pool.cc.orig 2013-05-05 20:36:30.000000000 +0000 ++++ tests/libmemcached-1.0/pool.cc +@@ -34,7 +34,7 @@ + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + */ +- ++#define __STDC_CONSTANT_MACROS + #include <config.h> + #include <libtest/test.hpp> + +@@ -44,6 +44,7 @@ using namespace libtest; + #include <iostream> + #include <string> + #include <cerrno> ++#include <cstdint> + + #include <semaphore.h> + |