Skip to content

Commit e96a31f

Browse files
author
q66
committed
txr: fix build on big endian
1 parent 8dfcf66 commit e96a31f

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
commit 161de911edd37a0f64e42dfedfd9b35b212056e6
2+
Author: q66 <daniel@octaforge.org>
3+
Date: Mon Jan 6 15:15:22 2020 +0100
4+
5+
fix non-libffi build on big endian
6+
7+
diff --git ffi.c ffi.c
8+
index 816afc4..535ca31 100644
9+
--- ffi.c
10+
+++ ffi.c
11+
@@ -83,6 +83,7 @@ typedef struct ffi_type {
12+
char type, size;
13+
} ffi_type;
14+
#define FFI_TYPE_STRUCT 0
15+
+typedef unsigned long ffi_arg;
16+
#endif
17+
18+
typedef enum {

srcpkgs/txr/template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version=227
44
revision=1
55
build_style=configure
66
make_check_target=tests
7+
# enabling libffi causes double-free errors with musl
78
hostmakedepends="bison flex"
89
short_desc="Programming language for convenient data munging"
910
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"

0 commit comments

Comments
 (0)