summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/udt/files/BSDmakefile6
-rw-r--r--net/udt/files/patch-md53
2 files changed, 5 insertions, 4 deletions
diff --git a/net/udt/files/BSDmakefile b/net/udt/files/BSDmakefile
index 650073e2dac6..1ebebc00aa70 100644
--- a/net/udt/files/BSDmakefile
+++ b/net/udt/files/BSDmakefile
@@ -12,9 +12,9 @@ SRCS= common.cpp window.cpp list.cpp buffer.cpp packet.cpp channel.cpp \
queue.cpp ccc.cpp cache.cpp core.cpp epoll.cpp api.cpp
CXXFLAGS+= -D${MACHINE_ARCH:U:S/I386/IA32/:S/SPARC64/SPARC/} -DBSD
-CXXFLAGS+= -Wsystem-headers -Werror -Wall -W \
+CXXFLAGS+= -Wno-system-headers -Wall -W \
-Wpointer-arith -Wreturn-type \
- -Wwrite-strings -Wswitch -Wcast-align \
- -Wunused-parameter
+ -Wwrite-strings -Wswitch -Wno-cast-align \
+ -Wunused-parameter -Werror
.include <bsd.lib.mk>
diff --git a/net/udt/files/patch-md5 b/net/udt/files/patch-md5
index cd97a28e68d8..639c2a285784 100644
--- a/net/udt/files/patch-md5
+++ b/net/udt/files/patch-md5
@@ -53,10 +53,11 @@ avoid a strlen().
}
--- src/core.cpp 2013-02-20 11:35:26.000000000 -0500
+++ src/core.cpp 2013-02-26 18:49:00.000000000 -0500
-@@ -40,4 +40,5 @@
+@@ -40,4 +40,6 @@
#ifndef WIN32
+ #include <err.h>
++ #include <stdint.h>
#include <unistd.h>
#include <netdb.h>
@@ -2460,12 +2461,28 @@