summaryrefslogblamecommitdiff
path: root/system/sharutils/modern-gcc.patch
blob: b42e0a7fba289aab372ca46f22cfe157f086c989 (plain) (tree)














































                                                                                   
Upstream-URL: https://savannah.gnu.org/bugs/index.php?65790
Upstream-Status: Pending

--- sharutils-4.15.2/src/shar-opts.h.old	2015-05-30 10:34:12.000000000 -0500
+++ sharutils-4.15.2/src/shar-opts.h	2024-05-25 12:36:29.126495658 -0500
@@ -352,7 +352,7 @@
  *  global exported definitions
  */
 #include "local.h"
-char const * const program_name;
+extern char const * const program_name;
 
 extern bool initialization_done;
 extern int optidx;
--- sharutils-4.15.2/src/unshar-opts.h.old	2015-05-30 10:34:18.000000000 -0500
+++ sharutils-4.15.2/src/unshar-opts.h	2024-05-25 12:36:07.748789737 -0500
@@ -192,7 +192,7 @@
 extern size_t       separator_str_len;
 
 #include "local.h"
-char const * const program_name;
+extern char const * const program_name;
 
 
 /* * * * * *
--- sharutils-4.15.2/src/uudecode-opts.h.old	2015-05-30 10:34:21.000000000 -0500
+++ sharutils-4.15.2/src/uudecode-opts.h	2024-05-25 12:33:58.052707656 -0500
@@ -170,7 +170,7 @@
  *  global exported definitions
  */
 #include "local.h"
-char const * const program_name;
+extern char const * const program_name;
 
 
 /* * * * * *
--- sharutils-4.15.2/src/uuencode-opts.h.old	2015-05-30 10:34:25.000000000 -0500
+++ sharutils-4.15.2/src/uuencode-opts.h	2024-05-25 12:36:54.973721944 -0500
@@ -166,7 +166,7 @@
  *  global exported definitions
  */
 #include "local.h"
-char const * const program_name;
+extern char const * const program_name;
 
 
 /* * * * * *