diff --git a/app-text/xpdf/patches/xpdf-4.04.patchset b/app-text/xpdf/patches/xpdf-4.05.patchset similarity index 94% rename from app-text/xpdf/patches/xpdf-4.04.patchset rename to app-text/xpdf/patches/xpdf-4.05.patchset index e0c4235bb..5e58d85d6 100644 --- a/app-text/xpdf/patches/xpdf-4.04.patchset +++ b/app-text/xpdf/patches/xpdf-4.05.patchset @@ -1,14 +1,14 @@ -From ffc3438d00b81e80deaa93e5741938ba733afa43 Mon Sep 17 00:00:00 2001 -From: begasus +From 085a25f646fc0dc8b46a01bed997b76869732bce Mon Sep 17 00:00:00 2001 +From: Schrijvers Luc Date: Tue, 26 Apr 2022 13:15:35 +0000 Subject: xpdf, fix ghostscript fonts detection diff --git a/xpdf/GlobalParams.cc b/xpdf/GlobalParams.cc -index 5fd4393..8a2e8c8 100644 +index 4c1ff91..5d75cea 100644 --- a/xpdf/GlobalParams.cc +++ b/xpdf/GlobalParams.cc -@@ -84,20 +84,20 @@ static struct { +@@ -82,20 +82,20 @@ static struct { const char *obliqueFont; // name of font to oblique double obliqueFactor; // oblique sheer factor } displayFontTab[] = { @@ -43,7 +43,7 @@ index 5fd4393..8a2e8c8 100644 {NULL} }; -@@ -116,6 +116,10 @@ static const char *displayFontDirs[] = { +@@ -114,6 +114,10 @@ static const char *displayFontDirs[] = { "/usr/share/fonts/type1/gsfonts", #if defined(__sun) && defined(__SVR4) "/usr/sfw/share/ghostscript/fonts", @@ -52,8 +52,8 @@ index 5fd4393..8a2e8c8 100644 + "/boot/system/data/fonts/psfonts", + "/boot/system/data/fonts/ttfonts", #endif + #endif // _WIN32 NULL - }; -- -2.35.1 +2.43.2 diff --git a/app-text/xpdf/xpdf-4.04.recipe b/app-text/xpdf/xpdf-4.05.recipe similarity index 96% rename from app-text/xpdf/xpdf-4.04.recipe rename to app-text/xpdf/xpdf-4.05.recipe index 17f91998e..2b3390e1a 100644 --- a/app-text/xpdf/xpdf-4.04.recipe +++ b/app-text/xpdf/xpdf-4.05.recipe @@ -3,11 +3,11 @@ DESCRIPTION="Xpdf is a free PDF viewer and toolkit, including a text extractor, converter, HTML converter, and more. Most of the tools are available as \ open source." HOMEPAGE="https://www.xpdfreader.com/" -COPYRIGHT="1996-2021 Glyph & Cog, LLC." +COPYRIGHT="1996-2024 Glyph & Cog, LLC." LICENSE="GNU GPL v2" REVISION="1" SOURCE_URI="http://dl.xpdfreader.com/xpdf-$portVersion.tar.gz" -CHECKSUM_SHA256="63ce23fcbf76048f524c40be479ac3840d7a2cbadb6d1e0646ea77926656bade" +CHECKSUM_SHA256="92707ed5acb6584fbd73f34091fda91365654ded1f31ba72f0970022cf2a5cea" SOURCE_DIR="xpdf-$portVersion" PATCHES="xpdf-$portVersion.patchset" ADDITIONAL_FILES="xpdfreader.rdef.in"