Date: Tue, 30 Jul 2019 12:36:20 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r507638 - in head/devel/pcre2: . files Message-ID: <201907301236.x6UCaKw2062567@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Tue Jul 30 12:36:19 2019 New Revision: 507638 URL: https://svnweb.freebsd.org/changeset/ports/507638 Log: devel/pcre2: Correctly detect OpenPOWER 64-bit ELFv2 ABI PR: 239408 Submitted by: bdragon Reported by: bdragon Approved by: krion (maintainer), linimon (mentor) Obtained from: https://bugs.exim.org/show_bug.cgi?id=2353 Differential Revision: https://reviews.freebsd.org/D21063 Added: head/devel/pcre2/files/patch-src_sljit_sljitConfigInternal.h (contents, props changed) head/devel/pcre2/files/patch-src_sljit_sljitNativePPC__common.c (contents, props changed) Modified: head/devel/pcre2/Makefile Modified: head/devel/pcre2/Makefile ============================================================================== --- head/devel/pcre2/Makefile Tue Jul 30 12:21:14 2019 (r507637) +++ head/devel/pcre2/Makefile Tue Jul 30 12:36:19 2019 (r507638) @@ -3,7 +3,7 @@ PORTNAME= pcre2 PORTVERSION= 10.32 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= SF/pcre/${PORTNAME}/${PORTVERSION} \ ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ \ Added: head/devel/pcre2/files/patch-src_sljit_sljitConfigInternal.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/pcre2/files/patch-src_sljit_sljitConfigInternal.h Tue Jul 30 12:36:19 2019 (r507638) @@ -0,0 +1,11 @@ +--- src/sljit/sljitConfigInternal.h.orig 2018-08-13 10:18:10 UTC ++++ src/sljit/sljitConfigInternal.h +@@ -530,7 +530,7 @@ typedef double sljit_f64; + #endif /* !SLJIT_FUNC */ + + #ifndef SLJIT_INDIRECT_CALL +-#if ((defined SLJIT_CONFIG_PPC_64 && SLJIT_CONFIG_PPC_64) && (defined SLJIT_BIG_ENDIAN && SLJIT_BIG_ENDIAN)) \ ++#if ((defined SLJIT_CONFIG_PPC_64 && SLJIT_CONFIG_PPC_64) && (!defined _CALL_ELF || _CALL_ELF == 1)) \ + || ((defined SLJIT_CONFIG_PPC_32 && SLJIT_CONFIG_PPC_32) && defined _AIX) + /* It seems certain ppc compilers use an indirect addressing for functions + which makes things complicated. */ Added: head/devel/pcre2/files/patch-src_sljit_sljitNativePPC__common.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/pcre2/files/patch-src_sljit_sljitNativePPC__common.c Tue Jul 30 12:36:19 2019 (r507638) @@ -0,0 +1,11 @@ +--- src/sljit/sljitNativePPC_common.c.orig 2018-01-06 15:12:56 UTC ++++ src/sljit/sljitNativePPC_common.c +@@ -42,7 +42,7 @@ typedef sljit_u32 sljit_ins; + #include <sys/cache.h> + #endif + +-#if (defined SLJIT_LITTLE_ENDIAN && SLJIT_LITTLE_ENDIAN) ++#if (defined _CALL_ELF && _CALL_ELF == 2) + #define SLJIT_PASS_ENTRY_ADDR_TO_CALL 1 + #endif +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907301236.x6UCaKw2062567>