pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/m4 Use older register names on MacOS X 10.4 "Tig...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dd66bdc595c8
branches:  trunk
changeset: 379884:dd66bdc595c8
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Tue May 24 14:43:03 2022 +0000

description:
Use older register names on MacOS X 10.4 "Tiger", taken from MacPorts

diffstat:

 devel/m4/Makefile                    |   3 ++-
 devel/m4/distinfo                    |   3 ++-
 devel/m4/patches/patch-lib_sigsegv.c |  16 ++++++++++++++++
 3 files changed, 20 insertions(+), 2 deletions(-)

diffs (46 lines):

diff -r e34e7dd676a9 -r dd66bdc595c8 devel/m4/Makefile
--- a/devel/m4/Makefile Tue May 24 13:08:26 2022 +0000
+++ b/devel/m4/Makefile Tue May 24 14:43:03 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.80 2021/06/28 23:48:25 tnn Exp $
+# $NetBSD: Makefile,v 1.81 2022/05/24 14:43:03 hauke Exp $
 
 DISTNAME=      m4-1.4.19
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GNU:=m4/}
 
diff -r e34e7dd676a9 -r dd66bdc595c8 devel/m4/distinfo
--- a/devel/m4/distinfo Tue May 24 13:08:26 2022 +0000
+++ b/devel/m4/distinfo Tue May 24 14:43:03 2022 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.52 2021/11/15 13:20:04 nia Exp $
+$NetBSD: distinfo,v 1.53 2022/05/24 14:43:03 hauke Exp $
 
 BLAKE2s (m4-1.4.19.tar.gz) = f1380114d839935b2afa53fdd7162dc5df2bbeb6d5eab48528916a138f483cbc
 SHA512 (m4-1.4.19.tar.gz) = f5dd0f02fcae65a176a16af9a8e1747c26e9440c6c224003ba458d3298b777a75ffb189aee9051fb0c4840b2a48278be4a51d959381af0b1d627570f478c58f2
 Size (m4-1.4.19.tar.gz) = 2953876 bytes
 SHA1 (patch-configure) = 941bba8b1a10c3fc305d20abdb247cf45e44d534
+SHA1 (patch-lib_sigsegv.c) = 31eebf620879e727737af41e3283a9209bbf5a9c
 SHA1 (patch-lib_strerror_override.c) = 29905fecf6c92f75c4999f1e3cb56e14fe2f4aae
 SHA1 (patch-m4_sparcv8+.m4) = 761e592a700ea47ac0ba15d960f073115005dedd
diff -r e34e7dd676a9 -r dd66bdc595c8 devel/m4/patches/patch-lib_sigsegv.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/m4/patches/patch-lib_sigsegv.c      Tue May 24 14:43:03 2022 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-lib_sigsegv.c,v 1.1 2022/05/24 14:43:03 hauke Exp $
+
+Use older regnames on MacOS X 10.4 "Tiger", taken from
+<https://github.com/macports/macports-ports/blob/f9641f5f5cb7287e6787b566945fff460a80bc39/devel/m4/files/patch-m4-use-older-regnames-on-tiger.diff>
+
+--- lib/sigsegv.c.orig 2021-05-19 14:36:49.000000000 +0000
++++ lib/sigsegv.c
+@@ -586,7 +586,7 @@ int libsigsegv_version = LIBSIGSEGV_VERS
+      - 'ucontext_t' and 'struct __darwin_ucontext' in <sys/_structs.h>,
+      - 'struct __darwin_mcontext' in <ppc/_structs.h>, and
+      - 'struct __darwin_ppc_thread_state' in <mach/ppc/_structs.h>.  */
+-#  define SIGSEGV_FAULT_STACKPOINTER  ((ucontext_t *) ucp)->uc_mcontext->__ss.__r1
++#  define SIGSEGV_FAULT_STACKPOINTER  ((ucontext_t *) ucp)->uc_mcontext->ss.r1
+ 
+ # endif
+ 



Home | Main Index | Thread Index | Old Index