summaryrefslogtreecommitdiff
path: root/archivers/sharutils/files/patch-src_shar.c
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2020-08-28 17:41:34 +0000
committerRenato Botelho <garga@FreeBSD.org>2020-08-28 17:41:34 +0000
commit61a13136199080756a917f09da9d5d7634f8646b (patch)
treea2b2ae7940cf836500447dc9387a4a423d32a791 /archivers/sharutils/files/patch-src_shar.c
parentemulators/zsnes: Fix build with -fno-common (diff)
archivers/sharutils: Fix build with -fno-common
Sponsored by: Rubicon Communications, LLC (Netgate)
Notes
Notes: svn path=/head/; revision=546768
Diffstat (limited to 'archivers/sharutils/files/patch-src_shar.c')
-rw-r--r--archivers/sharutils/files/patch-src_shar.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/archivers/sharutils/files/patch-src_shar.c b/archivers/sharutils/files/patch-src_shar.c
new file mode 100644
index 000000000000..d1f5b7528b05
--- /dev/null
+++ b/archivers/sharutils/files/patch-src_shar.c
@@ -0,0 +1,11 @@
+--- src/shar.c.orig 2020-08-28 17:03:20 UTC
++++ src/shar.c
+@@ -83,6 +83,8 @@ static const char cright_years_z[] =
+
+ #define LOG10_MAX_INT 11
+
++char const * const program_name = "shar";
++
+ /* System related declarations. */
+
+ /* Convert a possibly-signed character to an unsigned character. This is