Control: tags -1 patch

Hi,

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

  * d/p/gcc_10: Mark variables as extern to fix FTBFS with GCC 10.

Thanks for considering the patch.

Logan
diff -Nru cde-0.1+git9-g551e54d/debian/patches/gcc_10 
cde-0.1+git9-g551e54d/debian/patches/gcc_10
--- cde-0.1+git9-g551e54d/debian/patches/gcc_10 1969-12-31 19:00:00.000000000 
-0500
+++ cde-0.1+git9-g551e54d/debian/patches/gcc_10 2021-01-20 22:27:38.000000000 
-0500
@@ -0,0 +1,24 @@
+--- a/strace-4.6/defs.h
++++ b/strace-4.6/defs.h
+@@ -34,8 +34,8 @@
+ #define CDE_OPTIONS_VERSION_NUM "# cde.options v1"
+ #define CDE_ROOT_NAME "cde-root"
+ // pgbovine - these are both ABSOLUTE paths
+-char* CDE_PACKAGE_DIR;
+-char* CDE_ROOT_DIR;
++extern char* CDE_PACKAGE_DIR;
++extern char* CDE_ROOT_DIR;
+ 
+ 
+ #ifdef HAVE_CONFIG_H
+--- a/readelf-mini/dwarf.c
++++ b/readelf-mini/dwarf.c
+@@ -61,7 +61,7 @@
+ int do_debug_macinfo;
+ int do_debug_str;
+ int do_debug_loc;
+-int do_wide;
++extern int do_wide;
+ 
+ /* Values for do_debug_lines.  */
+ #define FLAG_DEBUG_LINES_RAW   1
diff -Nru cde-0.1+git9-g551e54d/debian/patches/series 
cde-0.1+git9-g551e54d/debian/patches/series
--- cde-0.1+git9-g551e54d/debian/patches/series 2013-11-17 20:49:30.000000000 
-0500
+++ cde-0.1+git9-g551e54d/debian/patches/series 2021-01-20 22:27:16.000000000 
-0500
@@ -1,2 +1,3 @@
 up_ignore-noMakefile_on_clean
 deb_install_usr
+gcc_10

Reply via email to