SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
20
devel/libmemcached/patches/patch-clients_memflush_cc
Normal file
20
devel/libmemcached/patches/patch-clients_memflush_cc
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- clients/memflush.cc.orig Fri Apr 28 00:57:12 2017
|
||||
+++ clients/memflush.cc Fri Apr 28 00:57:30 2017
|
||||
@@ -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);
|
|
@ -0,0 +1,17 @@
|
|||
our cinttypes is in tr1/cinttypes.
|
||||
|
||||
--- libmemcached-1.0/memcached.h.orig Sun Feb 9 12:52:42 2014
|
||||
+++ libmemcached-1.0/memcached.h Fri Apr 28 00:44:43 2017
|
||||
@@ -43,7 +43,11 @@
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
-# include <cinttypes>
|
||||
+# ifdef __clang__
|
||||
+# include <cinttypes>
|
||||
+# else
|
||||
+# include <tr1/cinttypes>
|
||||
+#endif
|
||||
# include <cstddef>
|
||||
# include <cstdlib>
|
||||
#else
|
14
devel/libmemcached/patches/patch-libtest_lite_h
Normal file
14
devel/libmemcached/patches/patch-libtest_lite_h
Normal file
|
@ -0,0 +1,14 @@
|
|||
configure tests for availability of alloca.h, but
|
||||
it's used unconditionally here.
|
||||
|
||||
--- libtest/lite.h.orig Sun Nov 8 20:10:49 2015
|
||||
+++ libtest/lite.h Sun Nov 8 20:10:32 2015
|
||||
@@ -53,7 +53,7 @@
|
||||
|
||||
#if defined(WIN32)
|
||||
# include <malloc.h>
|
||||
-#else
|
||||
+#elif defined(HAVE_ALLOCA_H)
|
||||
# include <alloca.h>
|
||||
#endif
|
||||
|
15
devel/libmemcached/patches/patch-libtest_main_cc
Normal file
15
devel/libmemcached/patches/patch-libtest_main_cc
Normal file
|
@ -0,0 +1,15 @@
|
|||
Configure tests for sigignore, but it's used
|
||||
unconditionally.
|
||||
|
||||
--- libtest/main.cc.orig Sun Nov 8 22:05:06 2015
|
||||
+++ libtest/main.cc Sun Nov 8 22:05:53 2015
|
||||
@@ -288,7 +288,9 @@ int main(int argc, char *argv[])
|
||||
do
|
||||
{
|
||||
exit_code= EXIT_SUCCESS;
|
||||
+#if defined(HAVE_SIGIGNORE)
|
||||
fatal_assert(sigignore(SIGPIPE) == 0);
|
||||
+#endif
|
||||
|
||||
libtest::SignalThread signal;
|
||||
if (signal.setup() == false)
|
13
devel/libmemcached/patches/patch-libtest_test_hpp
Normal file
13
devel/libmemcached/patches/patch-libtest_test_hpp
Normal file
|
@ -0,0 +1,13 @@
|
|||
unbreak with gcc 4.9
|
||||
|
||||
Index: libtest/test.hpp
|
||||
--- libtest/test.hpp.orig
|
||||
+++ libtest/test.hpp
|
||||
@@ -59,6 +59,7 @@
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
+#include <cstdarg>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#include <libtest/visibility.h>
|
Loading…
Add table
Add a link
Reference in a new issue