mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-06 11:41:52 +00:00
- Try to fix build on gcc4
- While I'm here, replace deprecated variable and remove 4.x support
This commit is contained in:
parent
8d3c371402
commit
d6a6cbc1f7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=189181
@ -36,20 +36,16 @@ CONFIGURE_ARGS= --with-libz=/usr \
|
||||
--with-jasper=${LOCALBASE} \
|
||||
--with-python
|
||||
MAKEFILE= GNUmakefile
|
||||
INSTALLS_SHLIB= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
MAN1= gdal-config.1 gdal_utilities.1 gdalwarp.1 ogrtindex.1 \
|
||||
gdal_contour.1 gdaladdo.1 ogr2ogr.1 pct2rgb.py.1 \
|
||||
gdal_merge.py.1 gdalinfo.1 ogr_utilities.1 rgb2pct.py.1 \
|
||||
gdal_translate.1 gdaltindex.1 ogrinfo.1
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|6LIBZ|6|;;s|lgif|lungif|' ${WRKSRC}/configure
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
CONFIGURE_ARGS+=--without-pcraster
|
||||
.endif
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|6LIBZ|6|;;s|lgif|lungif|' ${WRKSRC}/configure
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
11
graphics/gdal/files/patch-frmts__fit__fitdataset.cpp
Normal file
11
graphics/gdal/files/patch-frmts__fit__fitdataset.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
--- ./frmts/fit/fitdataset.cpp.orig Wed Apr 4 16:33:12 2007
|
||||
+++ ./frmts/fit/fitdataset.cpp Wed Apr 4 16:33:23 2007
|
||||
@@ -174,7 +174,7 @@
|
||||
|
||||
public:
|
||||
|
||||
- FITRasterBand::FITRasterBand( FITDataset *, int );
|
||||
+ FITRasterBand( FITDataset *, int );
|
||||
~FITRasterBand();
|
||||
|
||||
// should override RasterIO eventually.
|
Loading…
x
Reference in New Issue
Block a user