txr: update to 231.

This commit is contained in:
Imran Khan 2020-01-14 01:03:19 +06:00 committed by Juan RP
parent 73494e5cf6
commit 02ed56d52b
2 changed files with 4 additions and 21 deletions

View File

@ -1,18 +0,0 @@
commit 161de911edd37a0f64e42dfedfd9b35b212056e6
Author: q66 <daniel@octaforge.org>
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 {

View File

@ -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 <okiddle@yahoo.co.uk>"
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"