summaryrefslogtreecommitdiff
path: root/net-print/pnm2ppa
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-01 21:06:00 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-01 21:06:00 +0000
commit129160ec854dca4c3fedb5bcfbcb56930371da0f (patch)
tree53bf797418ac5e9b99c41ca0382c87b82421e5de /net-print/pnm2ppa
parent441d1370330332b7d78f238d2f5e13f7aed5e4e0 (diff)
gentoo new year resync : 01.01.2021
Diffstat (limited to 'net-print/pnm2ppa')
-rw-r--r--net-print/pnm2ppa/Manifest3
-rw-r--r--net-print/pnm2ppa/files/pnm2ppa-1.13-fno-common.patch26
-rw-r--r--net-print/pnm2ppa/pnm2ppa-1.13-r1.ebuild2
3 files changed, 30 insertions, 1 deletions
diff --git a/net-print/pnm2ppa/Manifest b/net-print/pnm2ppa/Manifest
index 1a3651b502d6..53a7ae7df265 100644
--- a/net-print/pnm2ppa/Manifest
+++ b/net-print/pnm2ppa/Manifest
@@ -1,3 +1,4 @@
+AUX pnm2ppa-1.13-fno-common.patch 609 BLAKE2B f15f34485347edde5c6fa621579050ab9b33b3611a73c3773cfcec7d19e384dea7dd63bd7c70ac1bd603515a7257749432b160221618319abcdaeddad4a4374f SHA512 5b8c801c0887440a2ed1c4e9a1eb8a8d5ec6f0a83ad683b323890e9274fe933b43227e410dfca76dc83a97f38af9dd092bfeef6b4d6a0a2e4a4f4be1b3b218b7
DIST pnm2ppa-1.13.tar.gz 291190 BLAKE2B c348f5582e8014a8dcc349a6254a302ce3e8272984b96828b3ce9f012654fb2520624aed6db2a97c3f0cbaf2be608a0d83da2b5b2b799e7500f89a6927c6d0d6 SHA512 8f96792cf7f03fd024db9a8d338f06d7484fa4474c1cd73048c90f0e88ae5540df30e6894c0bbc82dfd87126fc72875b6d71b2031c0e24b343ef88f51d00bb7a
-EBUILD pnm2ppa-1.13-r1.ebuild 1608 BLAKE2B 14c102f73eeca346bcd62eb134beeb9f262b650d5d1f741af87bf343d9ba7328990e8ef34f40ca458bfe2a7942a822326feb4d135d5515dc5d374b5ce9344e43 SHA512 c7efad8319669399b5d7ce400b296297bee2e94a64bff25ac161194673c2e0e28e3fccf53515506a3ffb42b21f07991f8f6a0b0f7661c921cc1c156ff9106fb3
+EBUILD pnm2ppa-1.13-r1.ebuild 1657 BLAKE2B 9221e1b457c69ea7881654dfcfb7ee7d753504c80740b9eac5987a830c429ff08bc5cf7fdaf24f0a1b39d5f312b445fcaf03b0d41ad7e509a6879d40931968ac SHA512 b8e4ead3f687f642bbdda27cff26223ed1563f22022d199ea9af95f8a97e84d3a91a248eb534fa9055baf07e0c1818cd66140791982f3dea6dc5f0587b070877
MISC metadata.xml 336 BLAKE2B 82376654bf2d655189b054c7e2168a59019ab7a5513fc7e4e306a5e8f9bb3eba86adfcb5fa4f1e112550d0123fa130446cb943e34b77b434f9278063caf0466d SHA512 345cc7f244621dee98b191a5b9704783490eccf9b27cda4c8d052657ebb35dc441ab752014a34f171115b26a9a2d8650c9cb2afc788e9271be6d91d47de3a507
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 ;
+
+ /*
diff --git a/net-print/pnm2ppa/pnm2ppa-1.13-r1.ebuild b/net-print/pnm2ppa/pnm2ppa-1.13-r1.ebuild
index bab71f44628c..4cfb04d59fba 100644
--- a/net-print/pnm2ppa/pnm2ppa-1.13-r1.ebuild
+++ b/net-print/pnm2ppa/pnm2ppa-1.13-r1.ebuild
@@ -26,6 +26,8 @@ RDEPEND="
syslog? ( virtual/logger )"
DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
+
src_configure() {
local lng i withval