diff options
| author | Kubilay Kocak <koobs@FreeBSD.org> | 2014-12-11 05:26:39 +0000 |
|---|---|---|
| committer | Kubilay Kocak <koobs@FreeBSD.org> | 2014-12-11 05:26:39 +0000 |
| commit | b6450d4ca70121f6e8fb4c91de9eae9b6c94cd43 (patch) | |
| tree | f5a000db9f0e619637a2579179a2d471d62b1c7e /databases/libmemcached/files/patch-bug1245562 | |
| parent | Update to 0.3.3 (diff) | |
databases/libmemcached: Update to 1.0.18 and much more
- Update to 1.0.18 and pkg-plist accordingly
- Add LICENSE (BSD3CLAUSE) and LICENSE_FILE
- Add TEST_DEPENDS and regression-test target
- Perl is not required, remove USE_PERL and from USES
- Split LDFLAGS from CONFIGURE_ENV, they're already set there
- Add libmemcachedprotocol to CONFIGURE_ARGS (Now default: off)
- Add OPTIONS for hash functions, debug and dtrace
- pkg-descr: Update WWW: URL
- Add patches for:
* alloca.h include not found on FreeBSD
* cinttypes include location
* clang compatibility
- Strip shared libraries manually since upstream install-strip target is
fail
Changes:
https://launchpad.net/libmemcached/+announcements
[1] https://bugs.launchpad.net/libmemcached/+bug/1245562
[2] https://bugs.launchpad.net/libmemcached/+bug/1400560
Approved by: Mikhail Tsatsenko <m.tsatsenko@gmail.com> (maintainer, via email)
Diffstat (limited to 'databases/libmemcached/files/patch-bug1245562')
| -rw-r--r-- | databases/libmemcached/files/patch-bug1245562 | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/databases/libmemcached/files/patch-bug1245562 b/databases/libmemcached/files/patch-bug1245562 new file mode 100644 index 000000000000..a0b146e5b72e --- /dev/null +++ b/databases/libmemcached/files/patch-bug1245562 @@ -0,0 +1,38 @@ +diff --git a/clients/memflush.cc b/clients/memflush.cc +index 8bd0dbf..cdba743 100644 +--- clients/memflush.cc ++++ clients/memflush.cc +@@ -39,7 +39,7 @@ int main(int argc, char *argv[]) + { + options_parse(argc, argv); + +- if (opt_servers == false) ++ if (opt_servers == NULL) + { + char *temp; + +@@ -48,7 +48,7 @@ int main(int argc, char *argv[]) + opt_servers= strdup(temp); + } + +- if (opt_servers == false) ++ if (opt_servers == NULL) + { + std::cerr << "No Servers provided" << std::endl; + exit(EXIT_FAILURE); +diff --git a/libmemcached-1.0/memcached.h b/libmemcached-1.0/memcached.h +index bc16e73..dcee395 100644 +--- libmemcached-1.0/memcached.h ++++ libmemcached-1.0/memcached.h +@@ -43,7 +43,11 @@ + #endif + + #ifdef __cplusplus ++#ifdef _LIBCPP_VERSION + # include <cinttypes> ++#else ++# include <tr1/cinttypes> ++#endif + # include <cstddef> + # include <cstdlib> + #else |
