Bug#957801: siproxd: ftbfs with GCC-10

Logan Rosen logan at ubuntu.com
Sun Jan 10 00:40:15 GMT 2021


Package: siproxd
Version: 1:0.8.1-4.1
Followup-For: Bug #957801
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu hirsute ubuntu-patch
X-Debbugs-Cc: logan at ubuntu.com
Control: tags -1 patch

Hi,

In Ubuntu, the attached patch was applied to achieve the following:

  * d/p/gcc-10.patch: Fix compilation with GCC 10.

Thanks for considering the patch.

Logan
-------------- next part --------------
diff -Nru siproxd-0.8.1/debian/control siproxd-0.8.1/debian/control
--- siproxd-0.8.1/debian/control	2018-04-03 08:43:31.000000000 -0400
+++ siproxd-0.8.1/debian/control	2021-01-09 19:35:35.000000000 -0500
@@ -1,8 +1,7 @@
 Source: siproxd
 Section: net
 Priority: optional
-Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
-XSBC-Original-Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org> 
+Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org> 
 Uploaders: Mark Purcell <msp at debian.org>, Kilian Krause <kilian at debian.org>, Mikael Magnusson <mikma at users.sourceforge.net>, Faidon Liambotis <paravoid at debian.org>
 Build-Depends: debhelper (>= 9), libosip2-dev (>= 3.1.0), automake, dh-autoreconf, autoconf, docbook-utils, libltdl3-dev
 Standards-Version: 3.8.4
diff -Nru siproxd-0.8.1/debian/patches/gcc-10.patch siproxd-0.8.1/debian/patches/gcc-10.patch
--- siproxd-0.8.1/debian/patches/gcc-10.patch	1969-12-31 19:00:00.000000000 -0500
+++ siproxd-0.8.1/debian/patches/gcc-10.patch	2021-01-09 19:35:34.000000000 -0500
@@ -0,0 +1,11 @@
+--- a/src/accessctl.c
++++ b/src/accessctl.c
+@@ -34,7 +34,7 @@
+ static char const ident[]="$Id: accessctl.c 424 2009-03-28 09:37:47Z hb9xar $";
+ 
+ /* configuration storage */
+-struct siproxd_config configuration;
++extern struct siproxd_config configuration;
+ 
+ 
+ /*
diff -Nru siproxd-0.8.1/debian/patches/series siproxd-0.8.1/debian/patches/series
--- siproxd-0.8.1/debian/patches/series	2013-05-26 01:05:43.000000000 -0400
+++ siproxd-0.8.1/debian/patches/series	2021-01-09 19:35:21.000000000 -0500
@@ -2,3 +2,4 @@
 non-empty-dependency_libs-in-la-file.diff
 siproxd-libtool-2.4.patch
 debian-user-1.diff
+gcc-10.patch


More information about the Pkg-voip-maintainers mailing list