]> git.draconx.ca Git - gentoo-draconx.git/blob - app-text/xpdf/files/xpdf-libpaper2.patch
app-text/xpdf: Fix build with libpaper-2.
[gentoo-draconx.git] / app-text / xpdf / files / xpdf-libpaper2.patch
1 diff --git a/xpdf/GlobalParams.cc b/xpdf/GlobalParams.cc
2 index ea7e9fd..06229e9 100644
3 --- a/xpdf/GlobalParams.cc
4 +++ b/xpdf/GlobalParams.cc
5 @@ -690,7 +690,7 @@ GlobalParams::GlobalParams(const char *cfgFileName) {
6    base14SysFonts = new GHash(gTrue);
7    sysFonts = new SysFontList();
8  #if HAVE_PAPER_H
9 -  char *paperName;
10 +  const char *paperName;
11    const struct paper *paperType;
12    paperinit();
13    if ((paperName = systempapername())) {