mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-text/xpdf: fix build w/ libpaper-2
Closes: https://bugs.gentoo.org/870217 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
14
app-text/xpdf/files/xpdf-4.04-libpaper-2.patch
Normal file
14
app-text/xpdf/files/xpdf-4.04-libpaper-2.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
https://bugs.gentoo.org/870217
|
||||
https://forum.xpdfreader.com/viewtopic.php?t=42367
|
||||
https://github.com/rrthomas/libpaper/issues/29
|
||||
--- a/xpdf/GlobalParams.cc
|
||||
+++ b/xpdf/GlobalParams.cc
|
||||
@@ -655,7 +655,7 @@ GlobalParams::GlobalParams(const char *cfgFileName) {
|
||||
base14SysFonts = new GHash(gTrue);
|
||||
sysFonts = new SysFontList();
|
||||
#if HAVE_PAPER_H
|
||||
- char *paperName;
|
||||
+ const char *paperName;
|
||||
const struct paper *paperType;
|
||||
paperinit();
|
||||
if ((paperName = systempapername())) {
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -55,6 +55,7 @@ PATCHES=(
|
||||
"${FILESDIR}"/${PN}-automagic.patch
|
||||
"${FILESDIR}"/${PN}-visibility.patch
|
||||
"${FILESDIR}"/${PN}-shared-libs.patch
|
||||
"${FILESDIR}"/${PN}-4.04-libpaper-2.patch
|
||||
)
|
||||
|
||||
DOCS=( ANNOUNCE CHANGES README )
|
||||
|
||||
Reference in New Issue
Block a user