From owner-svn-ports-head@freebsd.org Sat Nov 24 08:30:50 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8562E11468CF; Sat, 24 Nov 2018 08:30:50 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2A6276E3B5; Sat, 24 Nov 2018 08:30:50 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0C8FD33CF; Sat, 24 Nov 2018 08:30:50 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wAO8UnX6020169; Sat, 24 Nov 2018 08:30:49 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wAO8UnBZ020167; Sat, 24 Nov 2018 08:30:49 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201811240830.wAO8UnBZ020167@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Sat, 24 Nov 2018 08:30:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r485730 - in head/devel/libffcall: . files X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: in head/devel/libffcall: . files X-SVN-Commit-Revision: 485730 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 2A6276E3B5 X-Spamd-Result: default: False [1.67 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_SPAM_LONG(0.40)[0.400,0]; NEURAL_SPAM_MEDIUM(0.71)[0.712,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_SPAM_SHORT(0.56)[0.561,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2018 08:30:50 -0000 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