[arch-commits] Commit in libqalculate/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Jul 16 06:45:19 UTC 2016
Date: Saturday, July 16, 2016 @ 06:45:19
Author: arojas
Revision: 271937
Fix segfault (should fix FS#50051)
Modified:
libqalculate/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-07-16 06:23:02 UTC (rev 271936)
+++ PKGBUILD 2016-07-16 06:45:19 UTC (rev 271937)
@@ -3,7 +3,7 @@
pkgname=libqalculate
pkgver=0.9.8
-pkgrel=1
+pkgrel=2
pkgdesc="Multi-purpose desktop calculator"
arch=('i686' 'x86_64')
url="http://qalculate.sourceforge.net/"
@@ -14,9 +14,17 @@
'wget: for retrieval of exchange rates (not needed if you use one of the GUI)'
'gnome-vfs: for retrieval of exchange rates (not needed if you use one of the GUI)')
options=('!makeflags')
-source=(http://downloads.sourceforge.net/sourceforge/qalculate/${pkgname}-${pkgver}.tar.gz)
-sha1sums=('d9023ae524aebf8e8b90e4e0cb76e04b77f60fd4')
+source=(http://downloads.sourceforge.net/sourceforge/qalculate/${pkgname}-${pkgver}.tar.gz
+ libqalculate-fix-crash.patch::"https://github.com/Qalculate/libqalculate/commit/eade7b72.patch")
+sha1sums=('d9023ae524aebf8e8b90e4e0cb76e04b77f60fd4'
+ '5d35a6b431e417d6334ed717be2eac2fa8e85750')
+prepare() {
+ cd $pkgname-$pkgver
+# Fix segfault when locale missing
+ patch -p1 -i ../libqalculate-fix-crash.patch
+}
+
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr
More information about the arch-commits
mailing list