1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

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
This commit is contained in:
Tobias Kortkamp 2019-05-11 09:55:40 +00:00
parent d656d2dbe2
commit 487a7e540a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=501243

View File

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