[arch-commits] Commit in cmake/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Dec 2 17:09:50 UTC 2020


    Date: Wednesday, December 2, 2020 @ 17:09:50
  Author: arojas
Revision: 402801

Fix HDF5 detection (FS#68810)

Modified:
  cmake/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-02 17:08:24 UTC (rev 402800)
+++ PKGBUILD	2020-12-02 17:09:50 UTC (rev 402801)
@@ -4,7 +4,7 @@
 
 pkgname=cmake
 pkgver=3.19.1
-pkgrel=1
+pkgrel=2
 pkgdesc='A cross-platform open-source make system'
 arch=('x86_64')
 url="https://www.cmake.org/"
@@ -13,13 +13,16 @@
 makedepends=('qt5-base' 'python-sphinx' 'emacs')
 optdepends=('qt5-base: cmake-gui')
 source=("https://www.cmake.org/files/v${pkgver%.*}/${pkgname}-${pkgver}.tar.gz"
-         cmake-cppflags.patch)
+         cmake-cppflags.patch
+         cmake-hdf5.patch::"https://gitlab.kitware.com/cmake/cmake/-/commit/175beadd.patch")
 sha512sums=('1a1c9a8546c80f8602babffc7fd398cea5d9163512ef74333f87e26a97ca35358bd0e90423768cfc971ebfed185e19d775737e557e0e982403b77a2ccbcd063a'
-            '407c5c63a31266e44641ada8229dbc33df44df98e5bb575db3a33590e8ffdff9aea3f2ee5cb0cb855858facf1e46c63886dea9f948a0cad2da042e7f7f258cac')
+            '407c5c63a31266e44641ada8229dbc33df44df98e5bb575db3a33590e8ffdff9aea3f2ee5cb0cb855858facf1e46c63886dea9f948a0cad2da042e7f7f258cac'
+            '2124e5763598190bdcb238e7c739935ac02fa7e713d3a8b57bcbddca834b71e4605a8579c32d7d00f557dfa75e3340e9a4fe509ed738ff5ae08df41d70198469')
 
 prepare() {
   cd ${pkgname}-${pkgver}
   patch -p1 -i ../cmake-cppflags.patch # Honor CPPFLAGS https://gitlab.kitware.com/cmake/cmake/issues/12928
+  patch -p1 -i ../cmake-hdf5.patch # Fix HDF5 detection
 }
 
 build() {



More information about the arch-commits mailing list