Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 May 2019 09:55:40 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r501243 - head/net/freeswitch
Message-ID:  <201905110955.x4B9teAQ032692@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



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