diff --git a/app-text/gsview/files/gsview-4.9-rev.patch b/app-text/gsview/files/gsview-4.9-rev.patch new file mode 100644 index 0000000..95b6349 --- /dev/null +++ b/app-text/gsview/files/gsview-4.9-rev.patch @@ -0,0 +1,12 @@ +diff -urNd gsview-4.9/src/gvcver.h gsview-4.9-rev/src/gvcver.h +--- gsview-4.9/src/gvcver.h 2007-11-18 11:13:24.000000000 +1000 ++++ gsview-4.9-rev/src/gvcver.h 2020-09-30 13:11:08.897457314 +1000 +@@ -58,7 +58,7 @@ + #define GS_PRODUCT "AFPL Ghostscript" + #define GS_REVISION_MIN 704 + #define GS_REVISION 704 +-#define GS_REVISION_MAX 999 ++#define GS_REVISION_MAX 9999 + + #ifdef _Windows + #ifdef _WIN64 diff --git a/app-text/gsview/gsview-4.9.ebuild b/app-text/gsview/gsview-4.9.ebuild index 27386fd..8473326 100644 --- a/app-text/gsview/gsview-4.9.ebuild +++ b/app-text/gsview/gsview-4.9.ebuild @@ -27,6 +27,7 @@ DEPEND="app-arch/unzip src_prepare() { epatch "${FILESDIR}"/${PV}-gentoo.patch epatch "${FILESDIR}"/${P}-libdl.patch + epatch "${FILESDIR}"/${P}-rev.patch tc-export CC }