mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-print/epson-inkjet-printer-escpr: Fix build with -fno-common
Closes: https://bugs.gentoo.org/707248 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -14,7 +14,10 @@ KEYWORDS="amd64 ~ppc64"
|
||||
DEPEND="net-print/cups"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/1.6.5-warnings.patch" )
|
||||
PATCHES=(
|
||||
"${FILESDIR}/1.6.5-warnings.patch"
|
||||
"${FILESDIR}/${P}-fnocommon.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
econf --disable-shared
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/src/filter.c 2020-05-23 13:50:19.064756474 +0200
|
||||
+++ b/src/filter.c 2020-05-23 13:53:01.936647646 +0200
|
||||
@@ -68,7 +68,7 @@
|
||||
extern EPS_UINT8* tmpLineBuf;
|
||||
|
||||
extern EPS_CMN_FUNC epsCmnFnc;
|
||||
-EPS_JOB_FUNCS jobFnc;
|
||||
+extern EPS_JOB_FUNCS jobFnc;
|
||||
|
||||
extern EPS_INT32 tonerSave;
|
||||
extern EPS_INT32 back_type;
|
||||
Reference in New Issue
Block a user