From e19b6503dea3c93612d103e46c723d639c6276b3 Mon Sep 17 00:00:00 2001 From: Imran Khan Date: Tue, 14 Jan 2020 01:03:19 +0600 Subject: [PATCH] txr: update to 231. --- srcpkgs/txr/patches/nolibffi-endian.patch | 18 ------------------ srcpkgs/txr/template | 7 ++++--- 2 files changed, 4 insertions(+), 21 deletions(-) delete mode 100644 srcpkgs/txr/patches/nolibffi-endian.patch diff --git a/srcpkgs/txr/patches/nolibffi-endian.patch b/srcpkgs/txr/patches/nolibffi-endian.patch deleted file mode 100644 index 22799210a3f..00000000000 --- a/srcpkgs/txr/patches/nolibffi-endian.patch +++ /dev/null @@ -1,18 +0,0 @@ -commit 161de911edd37a0f64e42dfedfd9b35b212056e6 -Author: q66 -Date: Mon Jan 6 15:15:22 2020 +0100 - - fix non-libffi build on big endian - -diff --git ffi.c ffi.c -index 816afc4..535ca31 100644 ---- ffi.c -+++ ffi.c -@@ -83,6 +83,7 @@ typedef struct ffi_type { - char type, size; - } ffi_type; - #define FFI_TYPE_STRUCT 0 -+typedef unsigned long ffi_arg; - #endif - - typedef enum { diff --git a/srcpkgs/txr/template b/srcpkgs/txr/template index 80f3387ee3d..fbe31815b3b 100644 --- a/srcpkgs/txr/template +++ b/srcpkgs/txr/template @@ -1,18 +1,19 @@ # Template file for 'txr' pkgname=txr -version=227 +version=231 revision=1 archs="x86_64* i686* aarch64* arm* ppc64*" build_style=configure make_check_target=tests -# enabling libffi causes double-free errors with musl hostmakedepends="bison flex" +makedepends="libffi-devel" short_desc="Programming language for convenient data munging" maintainer="Oliver Kiddle " license="BSD-2-Clause" homepage="http://www.nongnu.org/txr/" distfiles="http://www.kylheku.com/cgit/txr/snapshot/${pkgname}-${version}.tar.bz2" -checksum=fae7eb3ed6611e0a31cc5adc32a6e03e182e7412bdc99de2bcef4bb71c7913ee +checksum=8c8a187703fe3de9d1a8c46511e381e84a341990e935b64454b9ba4fd0a28f55 +nopie=yes if [ "$CROSS_BUILD" ]; then hostmakedepends+=" txr"