pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libffi libffi: fix ARM build



details:   https://anonhg.NetBSD.org/pkgsrc/rev/af0435655f37
branches:  trunk
changeset: 426928:af0435655f37
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed Apr 08 13:40:10 2020 +0000

description:
libffi: fix ARM build

Restore ifdef toggling .eh_frame exception unwinding.
Seems to have been lost in previous update. PR pkg/55107. Bump.

diffstat:

 devel/libffi/Makefile                     |   4 ++--
 devel/libffi/distinfo                     |   3 ++-
 devel/libffi/patches/patch-src_arm_sysv.S |  15 +++++++++++++++
 3 files changed, 19 insertions(+), 3 deletions(-)

diffs (49 lines):

diff -r 92082b078676 -r af0435655f37 devel/libffi/Makefile
--- a/devel/libffi/Makefile     Wed Apr 08 13:34:14 2020 +0000
+++ b/devel/libffi/Makefile     Wed Apr 08 13:40:10 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.39 2020/02/28 22:37:24 tnn Exp $
+# $NetBSD: Makefile,v 1.40 2020/04/08 13:40:10 tnn Exp $
 
 DISTNAME=      libffi-3.3
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel
 MASTER_SITES=  ftp://sourceware.org/pub/libffi/
 
diff -r 92082b078676 -r af0435655f37 devel/libffi/distinfo
--- a/devel/libffi/distinfo     Wed Apr 08 13:34:14 2020 +0000
+++ b/devel/libffi/distinfo     Wed Apr 08 13:40:10 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.52 2020/03/21 16:08:34 rin Exp $
+$NetBSD: distinfo,v 1.53 2020/04/08 13:40:10 tnn Exp $
 
 SHA1 (libffi-3.3.tar.gz) = 8df6cb570c8d6596a67d1c0773bf00650154f7aa
 RMD160 (libffi-3.3.tar.gz) = 2cd43b66d792f1bad76df2e19a8411beacfcb8e0
@@ -7,6 +7,7 @@
 SHA1 (patch-configure) = 81f1f2bee39a40f2a34b3a6cea0b210d13037482
 SHA1 (patch-configure_host) = 94678e6c264ee116c339eb92f840909a663f28f7
 SHA1 (patch-src_aarch64_ffi.c) = c5bd73abcb7445b073eb3e61feda212ee3396246
+SHA1 (patch-src_arm_sysv.S) = 9aaa8e12e627d68126fbc4ff02e06ed45c94da1a
 SHA1 (patch-src_closures.c) = f818bd0384f146a17964e2320df1321d8b83ec73
 SHA1 (patch-src_m68k_ffi.c) = 5179cfd150bc7de15eb1c5ee0a327016c2c32b3e
 SHA1 (patch-src_m88k_elfbsd.S) = 6572c7fa39c00096cb4a80bb88993ff1b4aaa8cc
diff -r 92082b078676 -r af0435655f37 devel/libffi/patches/patch-src_arm_sysv.S
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libffi/patches/patch-src_arm_sysv.S Wed Apr 08 13:40:10 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_arm_sysv.S,v 1.9 2020/04/08 13:40:11 tnn Exp $
+
+fix: libffi.so: undefined reference to `__aeabi_unwind_cpp_pr0'
+
+--- src/arm/sysv.S.orig        2019-10-31 14:49:54.000000000 +0000
++++ src/arm/sysv.S
+@@ -53,7 +53,7 @@
+ #endif
+ 
+ /* Conditionally compile unwinder directives.  */
+-#ifdef __ARM_EABI__
++#if defined(__ARM_EABI__) && !defined(__ARM_DWARF_EH__)
+ # define UNWIND(...)  __VA_ARGS__
+ #else
+ # define UNWIND(...)



Home | Main Index | Thread Index | Old Index