svn commit: r501243 - head/net/freeswitch

Tobias Kortkamp tobik at FreeBSD.org
Sat May 11 09:55:41 UTC 2019


Author: tobik
Date: Sat May 11 09:55:40 2019
New Revision: 501243
URL: https://svnweb.freebsd.org/changeset/ports/501243

Log:
  net/freeswitch: Fix build and disable -Werror to stop collecting -Wno-* flags
  
  sip_pref_util.c:328:12: error: adding 'int' to a string does not append to the string [-Werror,-Wstring-plus-int]
      base = MATCH("audio") || MATCH("automata") || MATCH("application") ||
             ^~~~~~~~~~~~~~
  sip_pref_util.c:315:31: note: expanded from macro 'MATCH'
    (su_casenmatch(param + 1, s + 1, strlen(s) - 1) && \
                              ~~^~~
  
  http://beefy12.nyi.freebsd.org/data/head-amd64-default/p501065_s347375/logs/errors/freeswitch-1.8.1_2.log

Modified:
  head/net/freeswitch/Makefile

Modified: head/net/freeswitch/Makefile
==============================================================================
--- head/net/freeswitch/Makefile	Sat May 11 09:39:19 2019	(r501242)
+++ head/net/freeswitch/Makefile	Sat May 11 09:55:40 2019	(r501243)
@@ -39,10 +39,7 @@ CONFLICTS_BUILD=	xmlrpc-c-*
 GNU_CONFIGURE=		yes
 CONFIGURE_ARGS=	--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \
 		--enable-zrtp
-CFLAGS+=	-Wno-c11-extensions -Wno-deprecated-declarations \
-		-Wno-zero-length-array -Wno-incompatible-pointer-types \
-		-Wno-ignored-optimization-argument -Wno-unknown-warning-option \
-		-Wno-unused-function -Wno-enum-conversion -Wno-reserved-user-defined-literal
+CFLAGS+=	-Wno-error
 
 USERS=		${PORTNAME}
 GROUPS=		${USERS}


More information about the svn-ports-all mailing list