From cd6a6013afc3d578436ec9b987634b33712b640f Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Thu, 18 Feb 2021 18:34:30 +0300 Subject: [PATCH] qalculate: update to 3.17.0 By ericonr: - fix cross --- srcpkgs/qalculate/patches/cross.patch | 25 +++++++++++++++++++++++++ srcpkgs/qalculate/template | 4 ++-- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/qalculate/patches/cross.patch diff --git a/srcpkgs/qalculate/patches/cross.patch b/srcpkgs/qalculate/patches/cross.patch new file mode 100644 index 0000000000..d6d146ec41 --- /dev/null +++ b/srcpkgs/qalculate/patches/cross.patch @@ -0,0 +1,25 @@ +commit 4e227a03aaf5dfe3f9007c9d5f3516534d6b9006 +Author: Érico Rolim +Date: Fri Feb 26 15:08:28 2021 -0300 + + Fix cross by building fixpo for the build system. + + Necessary after: + https://github.com/Qalculate/libqalculate/commit/8c4526941aed1e39187dba25eb1a74e8f91b56e0 + +diff --git po-defs/Makefile.in po-defs/Makefile.in +index af5218a..2c0f09e 100644 +--- po-defs/Makefile.in ++++ po-defs/Makefile.in +@@ -399,9 +399,8 @@ clean-noinstPROGRAMS: + echo " rm -f" $$list; \ + rm -f $$list + +-fixpo$(EXEEXT): $(fixpo_OBJECTS) $(fixpo_DEPENDENCIES) $(EXTRA_fixpo_DEPENDENCIES) +- @rm -f fixpo$(EXEEXT) +- $(AM_V_CXXLD)$(CXXLINK) $(fixpo_OBJECTS) $(fixpo_LDADD) $(LIBS) ++fixpo$(EXEEXT): $(fixpo_SOURCES) ++ g++ $< -o $@ + + mostlyclean-compile: + -rm -f *.$(OBJEXT) diff --git a/srcpkgs/qalculate/template b/srcpkgs/qalculate/template index ec81d9cf9f..c223601ef7 100644 --- a/srcpkgs/qalculate/template +++ b/srcpkgs/qalculate/template @@ -1,7 +1,7 @@ # Template file for 'qalculate' # NOTE: keep this package synchronized with "srcpkgs/qalculate-gtk" pkgname=qalculate -version=3.16.1 +version=3.17.0 revision=1 wrksrc="lib${pkgname}-${version}" build_style=gnu-configure @@ -13,7 +13,7 @@ maintainer="Artem Zhurikhin " license="GPL-2.0-or-later" homepage="https://qalculate.github.io" distfiles="https://github.com/Qalculate/libqalculate/releases/download/v${version}/libqalculate-${version}.tar.gz" -checksum=bbe837073bf0d1995fe7ead4aae2b2e24260351048f6a513a9ca210342ce8e59 +checksum=7ea06b140b9238b44473e07b60e1e8cb5271e45b80cbdc27e7eb2e6f82c2ec8c libqalculate_package() { short_desc+=" - library files"