Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2014 22:07:04 +0000 (UTC)
From:      Mikhail Teterin <mi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343825 - head/net/udt/files
Message-ID:  <201402112207.s1BM74or012218@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mi
Date: Tue Feb 11 22:07:04 2014
New Revision: 343825
URL: http://svnweb.freebsd.org/changeset/ports/343825
QAT: https://qat.redports.org/buildarchive/r343825/

Log:
  Relax the compiler warning flags slightly to ensure successful builds
  with clang++ (on 10.x and -current).
  
  Notified by:	pointyhat

Modified:
  head/net/udt/files/BSDmakefile
  head/net/udt/files/patch-md5

Modified: head/net/udt/files/BSDmakefile
==============================================================================
--- head/net/udt/files/BSDmakefile	Tue Feb 11 21:56:02 2014	(r343824)
+++ head/net/udt/files/BSDmakefile	Tue Feb 11 22:07:04 2014	(r343825)
@@ -12,9 +12,9 @@ SRCS=	common.cpp window.cpp list.cpp buf
 	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>

Modified: head/net/udt/files/patch-md5
==============================================================================
--- head/net/udt/files/patch-md5	Tue Feb 11 21:56:02 2014	(r343824)
+++ head/net/udt/files/patch-md5	Tue Feb 11 22:07:04 2014	(r343825)
@@ -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 @@



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402112207.s1BM74or012218>