diff options
author | Marius Bakke <[email protected]> | 2020-01-23 23:11:11 +0100 |
---|---|---|
committer | Marius Bakke <[email protected]> | 2020-01-23 23:11:11 +0100 |
commit | 12d8adbfc0f32a1905cfc3aaa2cfff68ee46a333 (patch) | |
tree | 183ae8f3e96ce0ef2961a81d96c27e5e1f2bc36b /gnu/packages/patches/libmemcached-build-with-gcc7.patch | |
parent | bd0f5f24913b52df29f1f26321ed1095d08877b5 (diff) | |
parent | db0e9fe42c419c8c8010dbad6080ed66028c03ec (diff) |
Merge branch 'staging' into core-updates
Diffstat (limited to 'gnu/packages/patches/libmemcached-build-with-gcc7.patch')
-rw-r--r-- | gnu/packages/patches/libmemcached-build-with-gcc7.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/patches/libmemcached-build-with-gcc7.patch b/gnu/packages/patches/libmemcached-build-with-gcc7.patch new file mode 100644 index 0000000000..51e319d2c0 --- /dev/null +++ b/gnu/packages/patches/libmemcached-build-with-gcc7.patch @@ -0,0 +1,28 @@ +Author: Tobias Geerinckx-Rice <[email protected]> +Date: Wed 22 Jan 22:58:13 CET 2020 +Subject: gnu: memcached: Fix build with GCC 7. + +Taken verbating from this bug report: +<https://bugs.launchpad.net/libmemcached/+bug/1663985>. + +diff -up ./clients/memflush.cc.old ./clients/memflush.cc +--- ./clients/memflush.cc.old 2017-02-12 10:12:59.615209225 +0100 ++++ ./clients/memflush.cc 2017-02-12 10:13:39.998382783 +0100 +@@ -39,7 +39,7 @@ int main(int argc, char *argv[]) + { + options_parse(argc, argv); + +- if (opt_servers == false) ++ if (!opt_servers) + { + char *temp; + +@@ -48,7 +48,7 @@ int main(int argc, char *argv[]) + opt_servers= strdup(temp); + } + +- if (opt_servers == false) ++ if (!opt_servers) + { + std::cerr << "No Servers provided" << std::endl; + exit(EXIT_FAILURE); |