Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Feb 2019 20:07:07 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r492159 - in head/graphics/gdal: . files
Message-ID:  <201902042007.x14K77Wo047285@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Feb  4 20:07:06 2019
New Revision: 492159
URL: https://svnweb.freebsd.org/changeset/ports/492159

Log:
  Use REINPLACE_CMD instead of patch files

Deleted:
  head/graphics/gdal/files/patch-frmts-pdf-pdfdataset.cpp
  head/graphics/gdal/files/patch-frmts-pdf-pdfobject.cpp
Modified:
  head/graphics/gdal/Makefile

Modified: head/graphics/gdal/Makefile
==============================================================================
--- head/graphics/gdal/Makefile	Mon Feb  4 20:02:20 2019	(r492158)
+++ head/graphics/gdal/Makefile	Mon Feb  4 20:07:06 2019	(r492159)
@@ -137,6 +137,7 @@ post-patch:
 	@${REINPLACE_CMD} -e '/^#GDAL_SLIB_SONAME/ s|^#||' ${WRKSRC}/GDALmake.opt.in
 	@${REINPLACE_CMD} -e 's|$$(INST_LIB)/pkgconfig|${PREFIX}/libdata/pkgconfig|; s| LICENSE.TXT||' ${WRKSRC}/GNUmakefile
 	@${REINPLACE_CMD} -e 's|-lminizip|-lkmlminizip|' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|getCString()|c_str()|' ${WRKSRC}/frmts/pdf/pdfdataset.cpp ${WRKSRC}/frmts/pdf/pdfobject.cpp
 # Clean up bundled libraries
 	@${RM} -r ${WRKSRC}/frmts/gif/giflib/
 	@${RM} -r ${WRKSRC}/frmts/gtiff/libgeotiff/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902042007.x14K77Wo047285>