Le Mon, Mar 11, 2024 at 01:46:33PM +0100, Antoine Jacoutot a écrit :
> dpb junking.
> 
> [212/277] /exopi-obj/pobj/baresip-3.6.0/bin/cc -DARCH=\"amd64\" 
> -DHAVE_ACCEPT4 -DHAVE_ARC4RANDOM -DHAVE_ATOMIC -DHAVE_EXECINFO -DHAVE_FORK 
> -DHAVE_GETIFADDRS -DHAVE_GETOPT -DHAVE_INET6 -DHAVE_KQUEUE -DHAVE_PTHREAD 
> -DHAVE_PWD_H -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\" -DOPENBSD -DOS=\"OpenBSD\" 
> -DRELEASE -DSHARE_PATH=\"/usr/local/share/baresip\" -DUSE_DTLS -DUSE_OPENSSL 
> -DUSE_OPENSSL_AES -DUSE_OPENSSL_HMAC -DUSE_OPENSSL_SRTP -DUSE_TLS -DUSE_ZLIB 
> -DVERSION=\"3.6.0\" -DVER_MAJOR=3 -DVER_MINOR=6 -DVER_PATCH=0 
> -Dpipewire_EXPORTS -I/exopi-obj/pobj/baresip-3.6.0/baresip-3.6.0/include 
> -I/exopi-obj/pobj/baresip-3.6.0/baresip-3.6.0/src -I/usr/local/include/re 
> -isystem /usr/local/include/pipewire-0.3 -isystem /usr/local/include/spa-0.2 
> -O2 -pipe -DAMR_NB -DNDEBUG -std=c11 -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-pedantic -D_GNU_SOURCE -MD -MT 
> modules/pipewire/CMakeFiles/pipewire.dir/pipewire.c.o -MF 
> modules/pipewire/CMakeFiles/pipewire.dir/pipewire.c.o.d -o 
> modules/pipewire/CMakeFiles/pipewire.dir/pipewire.c.o -c 
> /exopi-obj/pobj/baresip-3.6.0/baresip-3.6.0/modules/pipewire/pipewire.c
> FAILED: modules/pipewire/CMakeFiles/pipewire.dir/pipewire.c.o 
> /exopi-obj/pobj/baresip-3.6.0/bin/cc -DARCH=\"amd64\" -DHAVE_ACCEPT4 
> -DHAVE_ARC4RANDOM -DHAVE_ATOMIC -DHAVE_EXECINFO -DHAVE_FORK -DHAVE_GETIFADDRS 
> -DHAVE_GETOPT -DHAVE_INET6 -DHAVE_KQUEUE -DHAVE_PTHREAD -DHAVE_PWD_H 
> -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\" -DOPENBSD -DOS=\"OpenBSD\" 
> -DRELEASE -DSHARE_PATH=\"/usr/local/share/baresip\" -DUSE_DTLS -DUSE_OPENSSL 
> -DUSE_OPENSSL_AES -DUSE_OPENSSL_HMAC -DUSE_OPENSSL_SRTP -DUSE_TLS -DUSE_ZLIB 
> -DVERSION=\"3.6.0\" -DVER_MAJOR=3 -DVER_MINOR=6 -DVER_PATCH=0 
> -Dpipewire_EXPORTS -I/exopi-obj/pobj/baresip-3.6.0/baresip-3.6.0/include 
> -I/exopi-obj/pobj/baresip-3.6.0/baresip-3.6.0/src -I/usr/local/include/re 
> -isystem /usr/local/include/pipewire-0.3 -isystem /usr/local/include/spa-0.2 
> -O2 -pipe -DAMR_NB -DNDEBUG -std=c11 -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-pedantic -D_GNU_SOURCE -MD -MT 
> modules/pipewire/CMakeFiles/pipewire.dir/pipewire.c.o -MF 
> modules/pipewire/CMakeFiles/pipewire.dir/pipewire.c.o.d -o 
> modules/pipewire/CMakeFiles/pipewire.dir/pipewire.c.o -c 
> /exopi-obj/pobj/baresip-3.6.0/baresip-3.6.0/modules/pipewire/pipewire.c
> /exopi-obj/pobj/baresip-3.6.0/baresip-3.6.0/modules/pipewire/pipewire.c:12:10:
>  fatal error: 'spa/param/audio/raw.h' file not found
> #include <spa/param/audio/raw.h>
>          ^~~~~~~~~~~~~~~~~~~~~~~
> 1 error generated.
> ninja: build stopped: subcommand failed.

that ought to fixit - ok ?

Index: patches/patch-cmake_modules_cmake
===================================================================
RCS file: 
/cvs/ports/telephony/baresip/baresip/patches/patch-cmake_modules_cmake,v
retrieving revision 1.2
diff -u -r1.2 patch-cmake_modules_cmake
--- patches/patch-cmake_modules_cmake   1 Sep 2023 15:56:49 -0000       1.2
+++ patches/patch-cmake_modules_cmake   11 Mar 2024 13:01:52 -0000
@@ -2,7 +2,7 @@
 Index: cmake/modules.cmake
 --- cmake/modules.cmake.orig
 +++ cmake/modules.cmake
-@@ -12,14 +12,11 @@ find_package(GIO)
+@@ -12,15 +12,11 @@ find_package(GIO)
  find_package(GST)
  find_package(GTK3)
  find_package(GZRTP)
@@ -14,6 +14,7 @@
  find_package(PNG)
 -find_package(PORTAUDIO)
 -find_package(PULSE)
- find_package(PIPEWIRE)
+-find_package(PIPEWIRE)
  find_package(SDL)
  find_package(SNDFILE)
+ find_package(SPANDSP)

Reply via email to