Package: siproxd
Version: 1:0.8.1-4.1
Followup-For: Bug #957801
User: [email protected]
Usertags: origin-ubuntu hirsute ubuntu-patch
X-Debbugs-Cc: [email protected]
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
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 <[email protected]>
-XSBC-Original-Maintainer: Debian VoIP Team 
<[email protected]> 
+Maintainer: Debian VoIP Team <[email protected]> 
 Uploaders: Mark Purcell <[email protected]>, Kilian Krause <[email protected]>, 
Mikael Magnusson <[email protected]>, Faidon Liambotis 
<[email protected]>
 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

Reply via email to