Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Nov 2018 08:30:49 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r485730 - in head/devel/libffcall: . files
Message-ID:  <201811240830.wAO8UnBZ020167@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Sat Nov 24 08:30:49 2018
New Revision: 485730
URL: https://svnweb.freebsd.org/changeset/ports/485730

Log:
  Remove stray defined(__arch64__) to fix build on powerpc64.
  
  PR:		231785
  Submitted by:	Piotr Kubaj
  Approved by:	maintainer

Added:
  head/devel/libffcall/files/
  head/devel/libffcall/files/extra-patch-ffcall-abi.h   (contents, props changed)
Modified:
  head/devel/libffcall/Makefile

Modified: head/devel/libffcall/Makefile
==============================================================================
--- head/devel/libffcall/Makefile	Sat Nov 24 08:25:54 2018	(r485729)
+++ head/devel/libffcall/Makefile	Sat Nov 24 08:30:49 2018	(r485730)
@@ -27,6 +27,9 @@ CONFIGURE_TARGET=	${ARCH:S/amd64/x86_64/}-portbld-${OP
 MAKE_JOBS_UNSAFE=	yes
 CFLAGS+=		-fPIC
 
+PATCHES_powerpc64=	${PATCHDIR}/extra-patch-ffcall-abi.h
+EXTRA_PATCHES=		${PATCHES_${ARCH}}
+
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libavcall.so \
 		${STAGEDIR}${PREFIX}/lib/libcallback.so \

Added: head/devel/libffcall/files/extra-patch-ffcall-abi.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libffcall/files/extra-patch-ffcall-abi.h	Sat Nov 24 08:30:49 2018	(r485730)
@@ -0,0 +1,11 @@
+--- ffcall-abi.h.orig	2018-11-18 21:47:39 UTC
++++ ffcall-abi.h
+@@ -75,7 +75,7 @@
+ #endif
+ #endif
+ #ifndef __sparc64__
+-#if defined(__sparcv9) /* GCC/Solaris, Sun C */ || defined(__arch64__) /* GCC/Linux */
++#if defined(__sparcv9) /* GCC/Solaris, Sun C */
+ #define __sparc64__ 1
+ #endif
+ #endif



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