svn commit: r485730 - in head/devel/libffcall: . files

Mark Linimon linimon at FreeBSD.org
Sat Nov 24 08:30:50 UTC 2018


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


More information about the svn-ports-all mailing list