blob: d6f3df150baf43b9c26a026f9af3cdc79ac71fa7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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())) {
|