From nobody Sat Aug 19 16:04:54 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RSk8k2xTsz4qrnb; Sat, 19 Aug 2023 16:04:54 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RSk8k2XJqz4LfQ; Sat, 19 Aug 2023 16:04:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692461094; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9jT9U2VYsmXxOwYftRyCqyP/f7Pgc4qIj6KE0NW3hlc=; b=F6eduhfoZTSzh2kjHXgaBspMh8VYObGPlcnr57/Ck8aNIcwgyhhdFxgKUUqoo0nil3g7IN NpMuRxl8WwOxZq54w5N14/gHt2MTXJoDJYsulJlpgPrdxn9ca3F+eY4vOwoAGkvsV5cNw1 ANGQwMlHk4gVl/JPf/cpkm9NATubH8618Uf/DU6xQ8nmdUEYgIPeZZInq7Z8jOZiooQhii tGxAq3A4PbKzp6cKsgRz+Bmf78ZSEMiiXIIcHSNFgPQG41f+NpbUYyVU/2gaH2x+OGeDQw E7K6cbbIK6TZT/ehyQP4sYLYA+ZrW50lM4jYYzVFcGppE1IdfagolH/8WyRUAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692461094; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9jT9U2VYsmXxOwYftRyCqyP/f7Pgc4qIj6KE0NW3hlc=; b=kkhNTaIzyQYKoSgZ06fS/S2F6bf8vB/yD6N4f22TwlqgXIrgxfCrRBqlXxZMyr9YO6jLhJ M9F+c9YAFqVod6UH3TpuQK8O7IfafnY14XqZGl3O5+eYqx4NFiTplb0BWg+fWGqe3VDAli hf0yeorBzUDrUHDC9313dEtrJkSekUHJ2nN8ZKeH8uCkuXVuiUuBJrmiya0XEPJjtv26fZ bBPT2YvHFqs1Q/xry7xT7YT0DUFdB4lVmZSjfmc4HWi6rD+hc9rSxKoV/jXehz3AeQB6eh 7xqrgKnNnwHbbbhTlrX0HM1XcH+olSBXVgyBsqmN2jmuq1BlE/zD4ey6mthIgg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692461094; a=rsa-sha256; cv=none; b=J/ehY6IjOKSvefLVKpVcfr8m8olAQPVEsPPnaaWrM0gKYuiBwra3ELRRCausCCBCiP/Vzh PMXPmfI4j2n8RO5KU3VTkUMWj5jM3gGlCkFlMLoUpZ1O8hrT5dmaL9ldYPj9roQ/2V4iO4 0LkkgaQeTSlkzJ+2EsPWnSTYVb49MrLJKT+FKnhvla8ol9IgprF0n2YE2bPMaHjjVtfHP7 YuAQ80KpwMfFnT10YkBI9d/jv59Wd1O+MGVPm1CiUhLq2NY3QnSYuyss5goHHgstxiAYMQ ySg1AYY6xQzpap4gEyvvpud+mRpAHqygKF6R+Jng+xEobYwxVAu3Mpw8plWDRA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RSk8k1d2hz13qG; Sat, 19 Aug 2023 16:04:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37JG4se7001257; Sat, 19 Aug 2023 16:04:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37JG4s6x001254; Sat, 19 Aug 2023 16:04:54 GMT (envelope-from git) Date: Sat, 19 Aug 2023 16:04:54 GMT Message-Id: <202308191604.37JG4s6x001254@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: aba5c00978ab - main - devel/upp: add support for powerpc64* List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: aba5c00978ab2987d929b7bdc233b5ea186ace15 Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=aba5c00978ab2987d929b7bdc233b5ea186ace15 commit aba5c00978ab2987d929b7bdc233b5ea186ace15 Author: Piotr Kubaj AuthorDate: 2023-08-19 16:04:12 +0000 Commit: Piotr Kubaj CommitDate: 2023-08-19 16:04:12 +0000 devel/upp: add support for powerpc64* --- devel/upp/Makefile | 3 ++- devel/upp/files/patch-uppsrc_Core_config.h | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/devel/upp/Makefile b/devel/upp/Makefile index 66162e005285..eddfabbd7a2e 100644 --- a/devel/upp/Makefile +++ b/devel/upp/Makefile @@ -16,7 +16,8 @@ BROKEN_powerpc= Does not compile on ${ARCH}: error Unknown CPU architecture BROKEN_powerpc64= Does not compile on ${ARCH}: error Unknown CPU architecture BROKEN_sparc64= Does not compile on ${ARCH} -USES= compiler:c++14-lang pkgconfig:both tar:xz +USES= compiler:c++14-lang dos2unix pkgconfig:both tar:xz +DOS2UNIX_FILES= uppsrc/Core/config.h WRKSRC= ${WRKDIR}/${PORTNAME} diff --git a/devel/upp/files/patch-uppsrc_Core_config.h b/devel/upp/files/patch-uppsrc_Core_config.h new file mode 100644 index 000000000000..475ac86a8fff --- /dev/null +++ b/devel/upp/files/patch-uppsrc_Core_config.h @@ -0,0 +1,19 @@ +--- uppsrc/Core/config.h.orig 2023-08-19 14:40:16 UTC ++++ uppsrc/Core/config.h +@@ -139,6 +139,16 @@ + #define _HAVE_NO_STDWSTRING 1 + //BF toolchain has no support for __thread (TLS), so U++ Heap not possible + #define flagUSEMALLOC ++ #elif __powerpc64__ ++ #define CPU_64 1 ++ #define CPU_UNALIGNED 1 ++ #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ ++ #define CPU_LE 1 ++ #define CPU_LITTLE_ENDIAN 1 ++ #else ++ #define CPU_BE 1 ++ #define CPU_BIG_ENDIAN 1 ++ #endif + #else + #error Unknown CPU architecture + #endif