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

Jelle van der Waa jelle at archlinux.org
Mon Dec 16 21:31:40 UTC 2019


    Date: Monday, December 16, 2019 @ 21:31:40
  Author: jelle
Revision: 537889

upgpkg: uranium 4.4.0-2

Fix crash

Modified:
  uranium/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-16 21:06:19 UTC (rev 537888)
+++ PKGBUILD	2019-12-16 21:31:40 UTC (rev 537889)
@@ -10,12 +10,16 @@
 license=('LGPL')
 depends=('python' 'qt5-quickcontrols' 'qt5-quickcontrols2' 'python-pyqt5' 'python-numpy' 'arcus' 'python-shapely')
 makedepends=('cmake')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/${pkgname}/archive/${pkgver}.tar.gz")
-sha256sums=('6906804add202b19931e01844f418256168e560265b217e725a4d9d0acf21800')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/${pkgname}/archive/${pkgver}.tar.gz"
+        "fix-crash.patch::https://github.com/Ultimaker/Uranium/commit/78fa9ab2dd8ab117a512e0ae3ce9d8cb93dc89d4.patch")
+sha256sums=('6906804add202b19931e01844f418256168e560265b217e725a4d9d0acf21800'
+            '6318fac94328cf2e20ca80f8470637cb0a76429b1d022b94d52f0bcae3fe8e71')
 
 prepare() {
   cd Uranium-${pkgver}
   sed -i 's,/dist-packages,.${PYTHON_VERSION_MINOR}/site-packages,g' CMakeLists.txt
+
+  patch -Np1 -i $srcdir/fix-crash.patch
 }
 
 build() {



More information about the arch-commits mailing list