diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-01 21:06:00 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-01 21:06:00 +0000 |
commit | 129160ec854dca4c3fedb5bcfbcb56930371da0f (patch) | |
tree | 53bf797418ac5e9b99c41ca0382c87b82421e5de /net-print/pnm2ppa/files | |
parent | 441d1370330332b7d78f238d2f5e13f7aed5e4e0 (diff) |
gentoo new year resync : 01.01.2021
Diffstat (limited to 'net-print/pnm2ppa/files')
-rw-r--r-- | net-print/pnm2ppa/files/pnm2ppa-1.13-fno-common.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/net-print/pnm2ppa/files/pnm2ppa-1.13-fno-common.patch b/net-print/pnm2ppa/files/pnm2ppa-1.13-fno-common.patch new file mode 100644 index 000000000000..e12ba7ba246d --- /dev/null +++ b/net-print/pnm2ppa/files/pnm2ppa-1.13-fno-common.patch @@ -0,0 +1,26 @@ +Taken from: https://sources.debian.org/patches/pnm2ppa/1.13-10/0005-Declare-syslog_message-correctly-for-GCC-10-FTBFS.patch +Author: Zdenek Dohnal <zdohnal@redhat.com> +--- a/ppa_syslog.h ++++ b/ppa_syslog.h +@@ -39,7 +39,7 @@ + #include <syslog.h> + #endif + +-char syslog_message[128]; ++extern char syslog_message[128]; + extern size_t message_size ; + + void wrap_syslog( int, char *, char *); +diff --git a/syslog.c b/syslog.c +index 9b11c55..dccab91 100644 +--- a/syslog.c ++++ b/syslog.c +@@ -31,6 +31,8 @@ + #include "ppa_syslog.h" + #include "global.h" + ++char syslog_message[128]; ++ + BOOLEAN verbose = false ; + + /* |