Package: baresip / 0.6.1-1

Metadata

Package Version Patches format
baresip 0.6.1-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
1001_gcc7_compat.patch | (download)

Makefile | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 use -d_gnu_source for gcc-7 compatibility
 baresip fails to build with gcc-7 because libdirectfb-dev needs to know
 the size of struct timespec, which is an opaque type unless we're using
 GNU extensions, but libre-dev sets -std=c99.  Adjust cflags to enable
 _GNU_SOURCE.
1002_system_header_locations.patch | (download)

Makefile | 10 8 + 2 - 0 !
mk/modules.mk | 210 91 + 119 - 0 !
modules/amr/amr.c | 8 4 + 4 - 0 !
modules/amr/module.mk | 15 15 + 0 - 0 !
modules/avcodec/module.mk | 5 2 + 3 - 0 !
5 files changed, 120 insertions(+), 128 deletions(-)

 avoid hardcoded locations of system headers
 baresip's mk/modules.mk hard codes a lot of system header locations
 and checks for their file existence.
 As Debian tends to move headers into multiarch locations,
 this tends to break.
 In particular,
 it will fail with any non-glibc libc and with glibc
 fixing Debian bug <https://bugs.debian.org/798955>.
 .
 This patch uses the compiler's search path for discovering headers.
2001_drop_libre_so_check.patch | (download)

Makefile | 10 3 + 7 - 0 !
1 file changed, 3 insertions(+), 7 deletions(-)

 drop checking for libre_so for empty
 LIBRE_SO variable holds path for libre.so library.
 This is not really required for package builds as
 ld will search system paths for library.
 .
 This patch might not be suitable for upstream though.