diff --git a/packages/xmlto/build.sh b/packages/xmlto/build.sh index ffed71b13e..6920968e40 100644 --- a/packages/xmlto/build.sh +++ b/packages/xmlto/build.sh @@ -2,10 +2,13 @@ TERMUX_PKG_HOMEPAGE=https://pagure.io/xmlto/ TERMUX_PKG_DESCRIPTION="Convert xml to many other formats" TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION=0.0.28 -TERMUX_PKG_REVISION=1 -TERMUX_PKG_SRCURL=https://releases.pagure.org/xmlto/xmlto-${TERMUX_PKG_VERSION}.tar.bz2 -TERMUX_PKG_SHA256=1130df3a7957eb9f6f0d29e4aa1c75732a7dfb6d639be013859b5c7ec5421276 +TERMUX_PKG_VERSION="0.0.29" +TERMUX_PKG_SRCURL=https://www.pagure.io/xmlto/archive/${TERMUX_PKG_VERSION}/xmlto-${TERMUX_PKG_VERSION}.tar.gz +TERMUX_PKG_SHA256=40504db68718385a4eaa9154a28f59e51e59d006d1aa14f5bc9d6fded1d6017a TERMUX_PKG_DEPENDS="xsltproc" TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_UPDATE_METHOD=repology + +termux_step_pre_configure() { + autoreconf -fi +} diff --git a/packages/xmlto/xmlif-xmlif.c.patch b/packages/xmlto/xmlif-xmlif.c.patch deleted file mode 100644 index e842efb01b..0000000000 --- a/packages/xmlto/xmlif-xmlif.c.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- a/xmlif/xmlif.c -+++ b/xmlif/xmlif.c -@@ -1151,7 +1151,7 @@ - - static char **selections; /* selection tokens */ - static int nselections; /* number of selections */ --static ifsense; /* sense of last `if' or unless seen */ -+static int ifsense; /* sense of last `if' or unless seen */ - static char *attribute; /* last attribute scanned */ - - struct stack_t { -@@ -2632,6 +2632,7 @@ - - int yywrap() {exit(0);}; - -+int - main(int argc, char *argv[]) - { - int i;