Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 2020 22:34:46 +0000 (UTC)
From:      Brandon Bergren <bdragon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r546842 - head/devel/libffi/files
Message-ID:  <202008282234.07SMYkmD088840@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdragon (src committer)
Date: Fri Aug 28 22:34:46 2020
New Revision: 546842
URL: https://svnweb.freebsd.org/changeset/ports/546842

Log:
  devel/libffi: Add support for powerpc64le-*-freebsd*.
  
  To support the upcoming FreeBSD PowerPC64LE platform, teach libffi about
  the new target triple.
  
  Submitted upstream as https://github.com/libffi/libffi/pull/581
  
  Approved by:	zeising (maintainer)
  Sponsored by:	Tag1 Consulting, Inc.

Modified:
  head/devel/libffi/files/patch-configure.host

Modified: head/devel/libffi/files/patch-configure.host
==============================================================================
--- head/devel/libffi/files/patch-configure.host	Fri Aug 28 22:16:13 2020	(r546841)
+++ head/devel/libffi/files/patch-configure.host	Fri Aug 28 22:34:46 2020	(r546842)
@@ -1,5 +1,5 @@
---- configure.host.orig	2019-11-22 23:55:36 UTC
-+++ configure.host
+--- configure.host.orig	2019-11-22 17:55:36.000000000 -0600
++++ configure.host	2020-08-28 12:48:23.259024000 -0500
 @@ -167,7 +167,7 @@ case "${host}" in
    mips-sgi-irix5.* | mips-sgi-irix6.* | mips*-*-rtems*)
  	TARGET=MIPS; TARGETDIR=mips
@@ -9,14 +9,16 @@
  	# Support 128-bit long double for NewABI.
  	HAVE_LONG_DOUBLE='defined(__mips64)'
  	TARGET=MIPS; TARGETDIR=mips
-@@ -202,6 +202,10 @@ case "${host}" in
-   powerpc-*-freebsd* | powerpc-*-openbsd* | powerpc-*-netbsd*)
+@@ -203,7 +203,11 @@ case "${host}" in
  	TARGET=POWERPC_FREEBSD; TARGETDIR=powerpc
  	HAVE_LONG_DOUBLE_VARIANT=1
-+	;;
+ 	;;
+-  powerpc64-*-freebsd*)
 +  powerpcspe-*-freebsd*)
 +	TARGET=POWERPC_FREEBSD; TARGETDIR=powerpc
 +	CFLAGS="$CFLAGS -D__NO_FPRS__"
- 	;;
-   powerpc64-*-freebsd*)
++	;;
++  powerpc64-*-freebsd* | powerpc64le-*-freebsd*)
  	TARGET=POWERPC; TARGETDIR=powerpc
+ 	;;
+   powerpc*-*-rtems*)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008282234.07SMYkmD088840>