From owner-svn-ports-branches@freebsd.org Tue Dec 15 21:55:28 2020 Return-Path: Delivered-To: svn-ports-branches@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C90B24C56B4; Tue, 15 Dec 2020 21:55:28 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CwXB85Kzrz3G5S; Tue, 15 Dec 2020 21:55:28 +0000 (UTC) (envelope-from pkubaj@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 A9E571B137; Tue, 15 Dec 2020 21:55:28 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0BFLtSOo053716; Tue, 15 Dec 2020 21:55:28 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0BFLtSSZ053714; Tue, 15 Dec 2020 21:55:28 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202012152155.0BFLtSSZ053714@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Tue, 15 Dec 2020 21:55:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r558186 - in branches/2020Q4/multimedia/kodi: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: in branches/2020Q4/multimedia/kodi: . files X-SVN-Commit-Revision: 558186 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2020 21:55:28 -0000 Author: pkubaj Date: Tue Dec 15 21:55:27 2020 New Revision: 558186 URL: https://svnweb.freebsd.org/changeset/ports/558186 Log: MFH: r558185 multimedia/kodi: port to powerpc64 Added: branches/2020Q4/multimedia/kodi/files/patch-cmake_scripts_freebsd_ArchSetup.cmake - copied unchanged from r558185, head/multimedia/kodi/files/patch-cmake_scripts_freebsd_ArchSetup.cmake branches/2020Q4/multimedia/kodi/files/patch-xbmc_utils_EndianSwap.h - copied unchanged from r558185, head/multimedia/kodi/files/patch-xbmc_utils_EndianSwap.h Modified: branches/2020Q4/multimedia/kodi/Makefile Directory Properties: branches/2020Q4/ (props changed) Modified: branches/2020Q4/multimedia/kodi/Makefile ============================================================================== --- branches/2020Q4/multimedia/kodi/Makefile Tue Dec 15 21:54:15 2020 (r558185) +++ branches/2020Q4/multimedia/kodi/Makefile Tue Dec 15 21:55:27 2020 (r558186) @@ -10,7 +10,7 @@ COMMENT= Award winning media center application LICENSE= GPLv2+ -ONLY_FOR_ARCHS= amd64 armv6 armv7 i386 +ONLY_FOR_ARCHS= amd64 armv6 armv7 i386 powerpc64 BUILD_DEPENDS= flatbuffers>0:devel/flatbuffers \ gperf>0:devel/gperf \ @@ -48,6 +48,7 @@ KODI_ARCH_amd64=x86_64 KODI_ARCH_i386= x86 KODI_ARCH_armv7=armv7 KODI_ARCH_armv6=armv6 +KODI_ARCH_powerpc64=powerpc64 NOPRECIOUSMAKEVARS= yes Copied: branches/2020Q4/multimedia/kodi/files/patch-cmake_scripts_freebsd_ArchSetup.cmake (from r558185, head/multimedia/kodi/files/patch-cmake_scripts_freebsd_ArchSetup.cmake) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2020Q4/multimedia/kodi/files/patch-cmake_scripts_freebsd_ArchSetup.cmake Tue Dec 15 21:55:27 2020 (r558186, copy of r558185, head/multimedia/kodi/files/patch-cmake_scripts_freebsd_ArchSetup.cmake) @@ -0,0 +1,11 @@ +--- cmake/scripts/freebsd/ArchSetup.cmake.orig 2020-12-15 16:30:44 UTC ++++ cmake/scripts/freebsd/ArchSetup.cmake +@@ -19,6 +19,8 @@ else() + elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL aarch64) + set(ARCH aarch64-freebsd) + set(NEON True) ++ elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL powerpc64) ++ set(ARCH powerpc64-freebsd) + else() + message(WARNING "unknown CPU: ${CPU}") + endif() Copied: branches/2020Q4/multimedia/kodi/files/patch-xbmc_utils_EndianSwap.h (from r558185, head/multimedia/kodi/files/patch-xbmc_utils_EndianSwap.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2020Q4/multimedia/kodi/files/patch-xbmc_utils_EndianSwap.h Tue Dec 15 21:55:27 2020 (r558186, copy of r558185, head/multimedia/kodi/files/patch-xbmc_utils_EndianSwap.h) @@ -0,0 +1,11 @@ +--- xbmc/utils/EndianSwap.h.orig 2020-12-15 17:05:18 UTC ++++ xbmc/utils/EndianSwap.h +@@ -23,7 +23,7 @@ + extern "C" { + #endif + +-#if defined(__GNUC__) && (defined(__powerpc__) || defined(__ppc__)) ++#if defined(__GNUC__) && (defined(__powerpc__) || defined(__ppc__)) && !defined(__clang__) + static __inline__ uint16_t Endian_Swap16(uint16_t x) + { + uint16_t result;