1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

databases/librasterlite2: Update to 1.1.0-beta1

Enable to build graphics/gdal 3.3.3

PR:		261008, 260840
Reported by:	jau@iki.fi,  darcy@dbitech.ca
This commit is contained in:
Loïc Bartoletti 2022-01-10 20:42:46 +01:00
parent 281b577e69
commit ca935938ea
4 changed files with 25 additions and 14 deletions

View File

@ -1,11 +1,10 @@
# Created by: lbartoletti <lbartoletti@FreeBSD.org>
PORTNAME= librasterlite2
PORTVERSION= 1.0.0
DISTVERSIONSUFFIX=-rc0
PORTREVISION= 8
PORTVERSION= 1.1.0
DISTVERSIONSUFFIX=-beta1
CATEGORIES= graphics geography
MASTER_SITES= http://www.gaia-gis.it/gaia-sins/
MASTER_SITES= http://www.gaia-gis.it/gaia-sins/librasterlite2-sources/
MAINTAINER= lbartoletti@FreeBSD.org
COMMENT= Library that stores and retrieves raster coverages using a SpatiaLite
@ -13,29 +12,27 @@ COMMENT= Library that stores and retrieves raster coverages using a SpatiaLite
LICENSE= MPL11 GPLv2 LGPL21
LICENSE_COMB= dual
LIB_DEPENDS= libspatialite.so:databases/spatialite \
LIB_DEPENDS= liblz4.so:archivers/liblz4 \
libzstd.so:archivers/zstd \
libspatialite.so:databases/spatialite \
libgeotiff.so:graphics/libgeotiff \
libjbig.so:graphics/jbigkit \
libpng.so:graphics/png \
libgif.so:graphics/giflib \
libgeos.so:graphics/geos \
libproj.so:graphics/proj \
libopenjp2.so:graphics/openjpeg \
libtiff.so:graphics/tiff \
libfreexl.so:textproc/freexl \
libwebp.so:graphics/webp \
libcairo.so:graphics/cairo \
libcurl.so:ftp/curl
libcurl.so:ftp/curl \
libfreexl.so:textproc/freexl
GNU_CONFIGURE= yes
USES= gmake iconv jpeg libtool pathfix pkgconfig sqlite
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
# Work around PKG_CHECK_MODULES before base r276898
.if !exists(/usr/libdata/pkgconfig/liblzma.pc)
CONFIGURE_ENV+= LIBLZMA_CFLAGS=" " LIBLZMA_LIBS="-llzma"
.endif
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
LIBS+= -lsqlite3 -lm

View File

@ -1,2 +1,3 @@
SHA256 (librasterlite2-1.0.0-rc0.tar.gz) = 8ddf8e7640ecc2591804a97cc78f54263362e67eb8af3089f014dc058060ef4f
SIZE (librasterlite2-1.0.0-rc0.tar.gz) = 16400254
TIMESTAMP = 1641841068
SHA256 (librasterlite2-1.1.0-beta1.tar.gz) = f7284cdfc07ad343a314e4878df0300874b0145d9d331b063b096b482e7e44f4
SIZE (librasterlite2-1.1.0-beta1.tar.gz) = 17865163

View File

@ -0,0 +1,11 @@
--- headers/rasterlite2_private.h.orig 2022-01-10 19:39:39 UTC
+++ headers/rasterlite2_private.h
@@ -48,7 +48,7 @@ the terms of any one of the MPL, the GPL or the LGPL.
*/
#include "config.h"
-
+#include <time.h>
/*
/ the following patch supporting GeoTiff headers
/ was kindly contributed by Brad Hards on 2011-09-02

View File

@ -1,7 +1,9 @@
bin/rl2sniff
bin/rl2tool
bin/wmslite
include/rasterlite2/rasterlite2.h
include/rasterlite2/rl2graphics.h
include/rasterlite2/rl2mapconfig.h
include/rasterlite2/rl2svg.h
include/rasterlite2/rl2tiff.h
include/rasterlite2/rl2wms.h