diff --git a/packages/gap/build.sh b/packages/gap/build.sh index 9ac3064a49..b8bd489e21 100644 --- a/packages/gap/build.sh +++ b/packages/gap/build.sh @@ -2,9 +2,10 @@ TERMUX_PKG_HOMEPAGE=https://www.gap-system.org/ TERMUX_PKG_DESCRIPTION="GAP is a system for computational discrete algebra, with particular emphasis on Computational Group Theory" TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION=4.12.2 +TERMUX_PKG_VERSION="4.13.0" TERMUX_PKG_SRCURL=https://github.com/gap-system/gap/releases/download/v${TERMUX_PKG_VERSION}/gap-${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=672308745eb78a222494ee8dd6786edd5bc331456fcc6456ac064bdb28d587a8 +TERMUX_PKG_SHA256=cc76ecbe33d6719450a593e613fb87e9e4247faa876f632dd0f97c398f92265d +TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="readline, libgmp, zlib, gap-packages" TERMUX_PKG_BREAKS="gap-dev" TERMUX_PKG_REPLACES="gap-dev" diff --git a/packages/gap/compiled.h-path.patch b/packages/gap/compiled.h-path.patch index 2379e02f87..011243a36f 100644 --- a/packages/gap/compiled.h-path.patch +++ b/packages/gap/compiled.h-path.patch @@ -1,27 +1,3 @@ -diff --git ./pkg/edim/src/compstat_with_ediv.c b/pkg/edim/src/compstat_with_ediv.c -index 0b335b25..010122d1 100644 ---- ./pkg/edim/src/compstat_with_ediv.c -+++ ./pkg/edim/src/compstat_with_ediv.c -@@ -1,5 +1,5 @@ - /* made by 'gac', can be thrown away */ --#include "src/compiled.h" -+#include "compiled.h" - #ifndef AVOID_PRECOMPILED - extern StructInitInfo * Init__methsel1 ( void ); - extern StructInitInfo * Init__type1 ( void ); -diff --git ./pkg/edim/src/ediv.c b/pkg/edim/src/ediv.c -index 23203d6b..d50a1fc7 100644 ---- ./pkg/edim/src/ediv.c -+++ ./pkg/edim/src/ediv.c -@@ -12,7 +12,7 @@ - - /* read GAP source header files with a combined header file */ - --#include "src/compiled.h" /* GAP headers */ -+#include "compiled.h" /* GAP headers */ - - - #include diff --git ./pkg/hap/lib/CompiledGAP/absint.c b/pkg/hap/lib/CompiledGAP/absint.c index 362dc0c2..e88fc4fd 100644 --- ./pkg/hap/lib/CompiledGAP/absint.c @@ -34,15 +10,3 @@ index 362dc0c2..e88fc4fd 100644 #include /* for abs */ -diff --git ./pkg/hap/lib/CompiledGAP/signint.c b/pkg/hap/lib/CompiledGAP/signint.c -index 68310f4c..e8508863 100644 ---- ./pkg/hap/lib/CompiledGAP/signint.c -+++ ./pkg/hap/lib/CompiledGAP/signint.c -@@ -1,6 +1,6 @@ - /*Based on a template by Paul Smith*/ - --#include "src/compiled.h" /* the GAP headers */ -+#include "compiled.h" /* the GAP headers */ - #include /* for SignInt */ - -