SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View 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);

View file

@ -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

View 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

View 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)

View 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>