[Bug 286024] audio/baresip: update to 3.21.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 11 Apr 2025 04:22:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286024

            Bug ID: 286024
           Summary: audio/baresip: update to 3.21.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: milios@ccsys.com
 Attachment #259455 maintainer-approval?
             Flags:

Created attachment 259455
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=259455&action=edit
git -C /usr/ports diff

recent commit to audio/re broke build of audio/baresip
see: PR 285946 / commit 51a9fe1d

this minimal patch allows it to build+package again BUT i have NOT yet done any
testing and really dont have the bandwidth presently to try it out


error was as follows:

FAILED: CMakeFiles/baresip.dir/src/aureceiver.c.o 
/usr/bin/cc -DARCH=\"amd64\" -DFREEBSD -DHAVE_ARC4RANDOM -DHAVE_ATOMIC
-DHAVE_EXECINFO -DHAVE_FORK -DHAVE_GETIFADDRS -DHAVE_GETOPT -DHAVE_KQUEUE
-DHAVE_PTHREAD -DHAVE_PWD_H -DHAVE_RESOLV -DHAVE_ROUTE_LIST -DHAVE_SELECT
-DHAVE_SELECT_H -DHAVE_SETRLIMIT -DHAVE_SIGNAL -DHAVE_STRERROR_R
-DHAVE_STRINGS_H -DHAVE_SYSLOG -DHAVE_SYS_TIME_H -DHAVE_UNAME -DHAVE_UNISTD_H
-DHAVE_UNIXSOCK=1 -DMOD_PATH=\"/usr/local/lib/baresip/modules\"
-DOS=\"FreeBSD\" -DRELEASE -DSHARE_PATH=\"/usr/local/share/baresip\" -DUSE_DTLS
-DUSE_OPENSSL -DUSE_OPENSSL_AES -DUSE_OPENSSL_HMAC -DUSE_TLS -DUSE_ZLIB
-DVERSION=\"3.20.0\" -DVER_MAJOR=3 -DVER_MINOR=20 -DVER_PATCH=0 -D_GNU_SOURCE
-Dbaresip_EXPORTS -I/usr/ports/audio/baresip/work/baresip-3.20.0/include
-I/usr/ports/audio/baresip/work/baresip-3.20.0/src -I/usr/local/include/re
-isystem /usr/local/include -O2 -pipe -march=opteron-sse3 
-fstack-protector-strong -fno-strict-aliasing -O2 -pipe -march=opteron-sse3 
-fstack-protector-strong -fno-strict-aliasing  -DNDEBUG -std=gnu11 -fPIC -Wall
-Wextra -pedantic -Wcast-align -Wbad-function-cast -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs -Wno-strict-aliasing
-Wold-style-definition -Wshadow -Waggregate-return -Wstrict-prototypes
-Wuninitialized -Wvla -Watomic-implicit-seq-cst -Wshorten-64-to-32
-Wno-gnu-zero-variadic-macro-arguments -Wno-c2x-extensions -pthread -MD -MT
CMakeFiles/baresip.dir/src/aureceiver.c.o -MF
CMakeFiles/baresip.dir/src/aureceiver.c.o.d -o
CMakeFiles/baresip.dir/src/aureceiver.c.o -c
/usr/ports/audio/baresip/work/baresip-3.20.0/src/aureceiver.c
/usr/ports/audio/baresip/work/baresip-3.20.0/src/aureceiver.c:281:29: error:
static declaration of 'rtpext_find' follows non-static declaration
  281 | static const struct rtpext *rtpext_find(const struct rtpext *extv,
size_t extc,
      |                             ^
/usr/local/include/re/re_rtpext.h:44:22: note: previous declaration is here
   44 | const struct rtpext *rtpext_find(const struct rtpext *extv, size_t
extc,
      |                      ^
1 error generated.

-- 
You are receiving this mail because:
You are the assignee for the bug.