summaryrefslogtreecommitdiff
path: root/print/ghostscript10
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--print/ghostscript10/Makefile2
-rw-r--r--print/ghostscript10/distinfo6
-rw-r--r--print/ghostscript10/files/patch-base_ocr.mak11
-rw-r--r--print/ghostscript10/files/patch-configure22
4 files changed, 35 insertions, 6 deletions
diff --git a/print/ghostscript10/Makefile b/print/ghostscript10/Makefile
index edf3e1bdfa2c..e19b3e83d9bf 100644
--- a/print/ghostscript10/Makefile
+++ b/print/ghostscript10/Makefile
@@ -1,5 +1,5 @@
PORTNAME= ghostscript
-DISTVERSION= 10.05.1
+DISTVERSION= 10.06.0
CATEGORIES= print
MASTER_SITES= https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${DISTVERSION:S/.//g}/
PKGNAMESUFFIX= ${GS_MAJOR_VERSION}
diff --git a/print/ghostscript10/distinfo b/print/ghostscript10/distinfo
index e1805e453459..bb47d2a138aa 100644
--- a/print/ghostscript10/distinfo
+++ b/print/ghostscript10/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1746048734
-SHA256 (ghostscript-10.05.1.tar.xz) = 22f2bdca15c28830c9715cddc5c296ea66898bfdab0b604a4e0bcfeb03af6cad
-SIZE (ghostscript-10.05.1.tar.xz) = 68043644
+TIMESTAMP = 1758706561
+SHA256 (ghostscript-10.06.0.tar.xz) = 64352648c2c081c8a9fb1a12dc1965e01ead7c57f58b72d1b54f6ef1cef3c561
+SIZE (ghostscript-10.06.0.tar.xz) = 68955484
diff --git a/print/ghostscript10/files/patch-base_ocr.mak b/print/ghostscript10/files/patch-base_ocr.mak
new file mode 100644
index 000000000000..02f9e01d7cca
--- /dev/null
+++ b/print/ghostscript10/files/patch-base_ocr.mak
@@ -0,0 +1,11 @@
+--- base/ocr.mak 2025-09-25 07:52:48 UTC
++++ base/ocr.mak
+@@ -20,7 +20,7 @@
+
+ # Define the name of this makefile.
+ LIBOCR_MAK=$(GLSRC)ocr.mak $(TOP_MAKEFILES)
+-OCRCXX = $(CXX) $(TESSINCLUDES) $(TESSCXXFLAGS) $(CCXXFLAGS) -DTESSERACT_IMAGEDATA_AS_PIX -DTESSERACT_DISABLE_DEBUG_FONTS -DGRAPHICS_DISABLED -UCLUSTER
++OCRCXX = $(CXX) $(TESSINCLUDES) $(TESSCXXFLAGS) $(CCFLAGS) -DTESSERACT_IMAGEDATA_AS_PIX -DTESSERACT_DISABLE_DEBUG_FONTS -DGRAPHICS_DISABLED -UCLUSTER
+
+ # Tesseract veneer.
+ $(GLGEN)tessocr.$(OBJ) : $(GLSRC)tessocr.cpp $(GLSRC)tessocr.h $(LIBOCR_MAK) \
diff --git a/print/ghostscript10/files/patch-configure b/print/ghostscript10/files/patch-configure
index 4ecbe4ff7287..1888293a327b 100644
--- a/print/ghostscript10/files/patch-configure
+++ b/print/ghostscript10/files/patch-configure
@@ -1,6 +1,15 @@
---- configure.orig 2022-04-04 13:48:49 UTC
+--- configure.orig 2025-09-09 09:36:39 UTC
+++ configure
-@@ -13383,7 +13383,12 @@ if test "${enable_dynamic+set}" = set; then :
+@@ -5630,7 +5630,7 @@ -Wmissing-declarations -Wmissing-prototypes -Wwrite-st
+ if test x"$GCC" = x"yes"; then
+ cflags_to_try="-Wall -Wstrict-prototypes -Wundef \
+ -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings \
+--fno-strict-aliasing -Werror=declaration-after-statement \
++-fno-strict-aliasing \
+ -fno-builtin -fno-common -Werror=return-type -Wno-unused-local-typedefs $CFLAGS_LARGEFILE"
+ optflags_to_try="$CC_OPT_FLAGS_TO_TRY"
+ dbgflags_to_try="$CC_DBG_FLAGS_TO_TRY"
+@@ -13615,7 +13615,12 @@ then :
DBG_CFLAGS="$DYNAMIC_CFLAGS $DBG_CFLAGS"
;;
*bsd*)
@@ -14,3 +23,12 @@
DYNAMIC_FLAGS="-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\\\"\$(gssharedir)\\\""
X11_DEVS=""
OPT_CFLAGS="$DYNAMIC_CFLAGS $OPT_CFLAGS"
+@@ -15791,7 +15796,7 @@ CFLAGSAUX=$(echo $CFLAGSAUX | sed -e 's/-DGS_NO_FILESY
+
+ CFLAGSAUX=$(echo $CFLAGSAUX | sed -e 's/-DGS_NO_FILESYSTEM//g')
+
+-GXXFLAGS=$(echo $GCFLAGS | sed -e 's/-Wstrict-prototypes//g' | sed -e 's/-Wmissing-prototypes//g' | sed -e 's/-Werror=declaration-after-statement//g')
++GXXFLAGS=$(echo $GCFLAGS | sed -e 's/-Wstrict-prototypes//g' | sed -e 's/-Wmissing-prototypes//g')
+
+ SRCDIR="$srcdir"
+