Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148427024
D52722.id162798.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D52722.id162798.diff
View Options
diff --git a/print/ghostscript10/Makefile b/print/ghostscript10/Makefile
--- a/print/ghostscript10/Makefile
+++ b/print/ghostscript10/Makefile
@@ -1,5 +1,6 @@
PORTNAME= ghostscript
DISTVERSION= 10.06.0
+PORTREVISION= 1
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/files/patch-base_ocr.mak b/print/ghostscript10/files/patch-base_ocr.mak
new file mode 100644
--- /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) \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 18, 7:21 PM (3 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29922207
Default Alt Text
D52722.id162798.diff (1 KB)
Attached To
Mode
D52722: print/ghostscript10: Fix compilation with Tessaract
Attached
Detach File
Event Timeline
Log In to Comment