[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#957902: uronode: ftbfs with GCC-10



Package: uronode
Version: 2.10-1
Followup-For: Bug #957902
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu hirsute ubuntu-patch
X-Debbugs-Cc: logan@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
diff -Nru uronode-2.10/debian/patches/gcc-10.patch uronode-2.10/debian/patches/gcc-10.patch
--- uronode-2.10/debian/patches/gcc-10.patch	1969-12-31 19:00:00.000000000 -0500
+++ uronode-2.10/debian/patches/gcc-10.patch	2021-01-08 17:16:03.000000000 -0500
@@ -0,0 +1,13 @@
+--- a/util.c
++++ b/util.c
+@@ -17,8 +17,8 @@
+ #include "procinfo.h"
+ 
+ static char buf[256];
+-char *HostName;
+-char *Prompt;
++extern char *HostName;
++extern char *Prompt;
+ 
+ void node_msg(const char *fmt, ...)
+ {
diff -Nru uronode-2.10/debian/patches/series uronode-2.10/debian/patches/series
--- uronode-2.10/debian/patches/series	2019-08-17 17:43:25.000000000 -0400
+++ uronode-2.10/debian/patches/series	2021-01-08 17:15:15.000000000 -0500
@@ -4,3 +4,4 @@
 install-dir-creation
 makefile-install-locations
 
+gcc-10.patch

Reply to: