Date: Monday, January 2, 2023 @ 22:43:17
  Author: foutrelis
Revision: 1374052

Fix build with PROJ 9.1.1

Modified:
  libgeotiff/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-02 22:40:55 UTC (rev 1374051)
+++ PKGBUILD    2023-01-02 22:43:17 UTC (rev 1374052)
@@ -13,12 +13,20 @@
 license=(custom)
 depends=(libtiff proj libjpeg-turbo zlib)
 changelog=$pkgname.changelog
-source=(https://github.com/OSGeo/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('05ab1347aaa471fc97347d8d4269ff0c00f30fa666d956baba37948ec87e55d6')
+source=(https://github.com/OSGeo/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz
+        
$pkgname-proj-9.1.1-part1.patch::https://github.com/OSGeo/libgeotiff/commit/f4b2b195c2d1.patch
+        
$pkgname-proj-9.1.1-part2.patch::https://github.com/OSGeo/libgeotiff/commit/468e2a178fa2.patch)
+sha256sums=('05ab1347aaa471fc97347d8d4269ff0c00f30fa666d956baba37948ec87e55d6'
+            'afa402635f5efb73c4e0773e1e091a34104c405f452f8cf7d69ce188079ca9c6'
+            'bac7e47e6f0a8793ebf19fcfd5791d75e772e5e656100374e4e8e70e75990b70')
 
 prepare() {
   cd $pkgname-$pkgver
   autoreconf -vfi
+
+  # https://github.com/OSGeo/libgeotiff/issues/81
+  patch -Np2 -i ../$pkgname-proj-9.1.1-part1.patch
+  patch -Np2 -i ../$pkgname-proj-9.1.1-part2.patch
 }
 
 build() {

Reply via email to