Package: fbpanel
Version: 7.0-4
Followup-For: Bug #957193
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu hirsute ubuntu-patch
Control: tags -1 patch

Hi,

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

  * d/p/gcc-10.patch: Mark variable as extern to fix FTBFS with GCC 10.

Thanks for considering the patch.

Logan
diff -Nru fbpanel-7.0/debian/patches/gcc-10.patch 
fbpanel-7.0/debian/patches/gcc-10.patch
--- fbpanel-7.0/debian/patches/gcc-10.patch     1969-12-31 19:00:00.000000000 
-0500
+++ fbpanel-7.0/debian/patches/gcc-10.patch     2021-01-18 20:13:32.000000000 
-0500
@@ -0,0 +1,11 @@
+--- a/panel/plugin.h
++++ b/panel/plugin.h
+@@ -9,7 +9,7 @@
+ #include <stdio.h>
+ #include "panel.h"
+ 
+-struct _plugin_instance *stam;
++extern struct _plugin_instance *stam;
+ 
+ typedef struct {
+     /* common */
diff -Nru fbpanel-7.0/debian/patches/series fbpanel-7.0/debian/patches/series
--- fbpanel-7.0/debian/patches/series   2017-10-12 07:54:27.000000000 -0400
+++ fbpanel-7.0/debian/patches/series   2021-01-18 20:13:19.000000000 -0500
@@ -4,3 +4,4 @@
 plugins_volume_oss+alsa_hint.patch
 ftbfs-hurd.patch
 nolibexec.patch
+gcc-10.patch

Reply via email to