diff options
author | joerg <joerg> | 2014-04-16 16:23:13 +0000 |
---|---|---|
committer | joerg <joerg> | 2014-04-16 16:23:13 +0000 |
commit | 6d38f5aa0d2f3df443c73d371d351fcdcd415567 (patch) | |
tree | 3e141855b2c11eb1b34a96d405712adbd33554d3 | |
parent | 82084ba1b785af7ae642960a3232dd6004101a9f (diff) | |
download | pkgsrc-6d38f5aa0d2f3df443c73d371d351fcdcd415567.tar.gz |
Don't use false as pointer value.
-rw-r--r-- | devel/libmemcached/distinfo | 3 | ||||
-rw-r--r-- | devel/libmemcached/patches/patch-clients_memflush.cc | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/devel/libmemcached/distinfo b/devel/libmemcached/distinfo index d9a6b61c218..f0a85562823 100644 --- a/devel/libmemcached/distinfo +++ b/devel/libmemcached/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.9 2014/04/08 13:23:31 fhajny Exp $ +$NetBSD: distinfo,v 1.10 2014/04/16 16:23:13 joerg Exp $ SHA1 (libmemcached-1.0.18.tar.gz) = 8be06b5b95adbc0a7cb0f232e237b648caf783e1 RMD160 (libmemcached-1.0.18.tar.gz) = 647ea760191755da4832f1a4c78847a330e5b515 Size (libmemcached-1.0.18.tar.gz) = 1039649 bytes +SHA1 (patch-clients_memflush.cc) = 52423ecc411e9991c2a14d0d54c76a1ce31d4be6 SHA1 (patch-configure) = 413296ba549ee0e4eb5d5ca910f144916a85b02b SHA1 (patch-libmemcached_byteorder.cc) = 047f070a47a6e88b5c19c413136e894737b28a7e SHA1 (patch-libtest_alarm.cc) = 92120b26fcbbef8ebec0b754d44a3a40b796e602 diff --git a/devel/libmemcached/patches/patch-clients_memflush.cc b/devel/libmemcached/patches/patch-clients_memflush.cc new file mode 100644 index 00000000000..831b09ebdf7 --- /dev/null +++ b/devel/libmemcached/patches/patch-clients_memflush.cc @@ -0,0 +1,22 @@ +$NetBSD: patch-clients_memflush.cc,v 1.1 2014/04/16 16:23:13 joerg Exp $ + +--- clients/memflush.cc.orig 2014-04-16 15:33:58.000000000 +0000 ++++ clients/memflush.cc +@@ -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); |