On 2019/01/07 17:29, Raphael Graf wrote: > Ok, I have successfully compile-tested those four ports. > Here is an updated diff:
Thanks, committed. > > Index: tesseract/Makefile > =================================================================== > RCS file: /cvs/ports/graphics/tesseract/tesseract/Makefile,v > retrieving revision 1.16 > diff -u -p -u -p -r1.16 Makefile > --- tesseract/Makefile 4 Sep 2018 12:46:14 -0000 1.16 > +++ tesseract/Makefile 7 Jan 2019 16:07:34 -0000 > @@ -4,7 +4,7 @@ COMMENT= OCR Engine developed at HP Labs > > GH_PROJECT= tesseract > GH_TAGNAME= 3.05.02 > -REVISION= 1 > +REVISION= 2 > > SHARED_LIBS += tesseract 3.2 # 3.5 > > Index: tesseract/patches/patch-tesseract_pc_in > =================================================================== > RCS file: tesseract/patches/patch-tesseract_pc_in > diff -N tesseract/patches/patch-tesseract_pc_in > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ tesseract/patches/patch-tesseract_pc_in 7 Jan 2019 16:07:34 -0000 > @@ -0,0 +1,24 @@ > +$OpenBSD$ > + > +Add -I/usr/local/include to include path. Typical users include headers > +with "#include <tesseract/XX.h>". Patch should be removed for 4.0.0 as fixed > +upstream by changing @includedir@ definition. > + > +Index: tesseract.pc.in > +--- tesseract.pc.in.orig > ++++ tesseract.pc.in > +@@ -4,7 +4,7 @@ bindir=@bindir@ > + datarootdir = @datarootdir@ > + datadir=@datadir@ > + libdir=@libdir@ > +-includedir=@includedir@ > ++includedir=@prefix@/include > + > + Name: @PACKAGE_NAME@ > + Description: An OCR Engine that was developed at HP Labs between 1985 and > 1995... and now at Google. > +@@ -13,4 +13,4 @@ Version: @VERSION@ > + Requires.private: lept > + Libs: -L${libdir} -ltesseract > + Libs.private: -lpthread @OPENCL_LDFLAGS@ > +-Cflags: -I${includedir} > ++Cflags: -I${includedir} -I${includedir}/tesseract > > >