diff --git a/srcpkgs/spatialite-tools/patches/spatialite-tools_lxml2.patch b/srcpkgs/spatialite-tools/patches/spatialite-tools_lxml2.patch new file mode 100644 index 00000000000..b57913813b3 --- /dev/null +++ b/srcpkgs/spatialite-tools/patches/spatialite-tools_lxml2.patch @@ -0,0 +1,22 @@ +https://src.fedoraproject.org/rpms/spatialite-tools/blob/rawhide/f/spatialite-tools_lxml2.patch + +--- a/Makefile.am 2021-02-07 17:34:04.000000000 +0100 ++++ b/Makefile.am 2021-12-14 15:45:19.962324159 +0100 +@@ -49,6 +49,7 @@ shp_doctor_SOURCES = shp_doctor.c + shp_sanitize_SOURCES = shp_sanitize.c + exif_loader_SOURCES = exif_loader.c + spatialite_xml_validator_SOURCES = spatialite_xml_validator.c ++spatialite_xml_validator_LIBADD = @LIBXML2_LIBS@ + spatialite_xml_load_SOURCES = spatialite_xml_load.c + spatialite_xml2utf8_SOURCES = spatialite_xml2utf8.c + spatialite_xml_collapse_SOURCES = spatialite_xml_collapse.c +--- a/Makefile.in 2021-02-07 17:34:04.000000000 +0100 ++++ b/Makefile.in 2021-12-14 15:45:42.976287325 +0100 +@@ -492,6 +492,7 @@ shp_doctor_SOURCES = shp_doctor.c + shp_sanitize_SOURCES = shp_sanitize.c + exif_loader_SOURCES = exif_loader.c + spatialite_xml_validator_SOURCES = spatialite_xml_validator.c ++spatialite_xml_validator_LDADD = @LIBXML2_LIBS@ + spatialite_xml_load_SOURCES = spatialite_xml_load.c + spatialite_xml2utf8_SOURCES = spatialite_xml2utf8.c + spatialite_xml_collapse_SOURCES = spatialite_xml_collapse.c diff --git a/srcpkgs/spatialite-tools/template b/srcpkgs/spatialite-tools/template new file mode 100644 index 00000000000..0a98c151df3 --- /dev/null +++ b/srcpkgs/spatialite-tools/template @@ -0,0 +1,16 @@ +# Template file for 'spatialite-tools' +pkgname=spatialite-tools +version=5.0.0 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config geos-devel libspatialite-devel" +makedepends="sqlite-devel zlib-devel proj-devel freexl-devel + geos-devel librttopo-devel libxml2-devel minizip-devel + libspatialite-devel expat-devel readline-devel readosm-devel" +depends="libspatialite" +short_desc="CLI tools supporting SpatiaLite" +maintainer="Arjan Mossel " +license="GPL-3.0-or-later" +homepage="https://www.gaia-gis.it/fossil/spatialite-tools/index" +distfiles="https://www.gaia-gis.it/gaia-sins/spatialite-tools-$version.tar.gz" +checksum=ad092d90ccb2c480f372d1e24b1e6ad9aa8a4bb750e094efdcc6c37edb6b6d32