Control: tags 872406 + patch Control: tags 872406 + pending Dear maintainer,
I've prepared an NMU for baresip (versioned as 0.5.4-1.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Cheers -- Sebastian Ramacher
diff -Nru baresip-0.5.4/debian/changelog baresip-0.5.4/debian/changelog --- baresip-0.5.4/debian/changelog 2017-07-03 12:57:00.000000000 +0200 +++ baresip-0.5.4/debian/changelog 2017-08-26 11:41:57.000000000 +0200 @@ -1,3 +1,12 @@ +baresip (0.5.4-1.1) unstable; urgency=medium + + * Non-maintainer upload. + + [ Steve Langasek ] + * Build with -D_GNU_SOURCE to fix FTBFS with GCC 7. (Closes: #872406) + + -- Sebastian Ramacher <sramac...@debian.org> Sat, 26 Aug 2017 11:41:57 +0200 + baresip (0.5.4-1) unstable; urgency=medium [ upstream ] diff -Nru baresip-0.5.4/debian/patches/gcc-7-compat.patch baresip-0.5.4/debian/patches/gcc-7-compat.patch --- baresip-0.5.4/debian/patches/gcc-7-compat.patch 1970-01-01 01:00:00.000000000 +0100 +++ baresip-0.5.4/debian/patches/gcc-7-compat.patch 2017-08-26 11:40:58.000000000 +0200 @@ -0,0 +1,20 @@ +Description: 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. +Author: Steve Langasek <steve.langa...@ubuntu.com> +Bug-Debian: https://bugs.debian.org/872406 + +Index: baresip-0.5.4/Makefile +=================================================================== +--- baresip-0.5.4.orig/Makefile ++++ baresip-0.5.4/Makefile +@@ -49,6 +49,7 @@ + CFLAGS += -I. -Iinclude -I$(LIBRE_INC) -I$(SYSROOT)/include + CFLAGS += -I$(LIBREM_PATH)/include + CFLAGS += -I$(SYSROOT)/local/include/rem -I$(SYSROOT)/include/rem ++CFLAGS += -D_GNU_SOURCE + + CXXFLAGS += -I. -Iinclude -I$(LIBRE_INC) + CXXFLAGS += -I$(LIBREM_PATH)/include diff -Nru baresip-0.5.4/debian/patches/series baresip-0.5.4/debian/patches/series --- baresip-0.5.4/debian/patches/series 2017-07-03 12:04:40.000000000 +0200 +++ baresip-0.5.4/debian/patches/series 2017-08-26 11:40:58.000000000 +0200 @@ -1 +1,2 @@ 2001_drop_libre_so_check.patch +gcc-7-compat.patch
signature.asc
Description: PGP signature