From nobody Tue May 09 20:00:53 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 4QG8D53krZz49QXk; Tue, 9 May 2023 20:00:53 +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 4QG8D536NLz3CSD; Tue, 9 May 2023 20:00:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683662453; 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=3mAfWI4Cq1lunIZwSed9QZRazXA1/u1hytfTJpToaeA=; b=FFvO3Ytm5RDvpPzILSqfJNYC1k3Xk0MT4uRv4WMrI7QVYyUSKkcmodz17finvGSDsBqPJp cuVEQZQzk5RCw76CMRp3yln0UBgtlvnA3ay71tLggFO+xNN16EduzfWEdr9/L4nJh9knpN GWL80DrR6DOslhjVaJVPmhh+bosqLHCodqfWkUn0id6s/WsGQ0OvXtOx/WT78AP59AfDaT KS6ZkyrTpAXfWbXTRlE0yrEbe1PjpLOb8ZP1NnKENjrfWrdI00WR6PE8OMFpdh9UVV103W p7VF32s17j39Vt2yWlO1keJGY9ggvasbY6Yb8eQQvphJw0YB3xwi/YgJOR905Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683662453; 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=3mAfWI4Cq1lunIZwSed9QZRazXA1/u1hytfTJpToaeA=; b=PnmCwp89qVss45XmbC/I3FpVx+1wQhQ0CAJPMrkLyQaYtHmM52W19JPyFTpJn48kSwA6fc 4EzVoHr7vJR1XxheGRw2cZWmVa1GsTzW8WaAWl9AmLOcmJXts8Hgd4TFr2lNhv5kNyPJDb vgJVhOU+iymKv1IJ82neJToqHsI6l7HGILgTP9i/HP6LvRyIO8DNKib+m3gkFFL5C21tAD 9qhaNKxnIgAavGApzccFtszcFQALwSCnvjnvfdgycrudafRrza26OsTV7PDjVzjG7eTEwP of+HwtlbPAQOYympA+fiMdBKpTF2wOsPbbWk/Bfdf27KPfvmk6SOl2EEtHPyuA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683662453; a=rsa-sha256; cv=none; b=IK2LcGXX5cn5S2W9boKUAwaNGoVRCODt5yO+C+pePfDtwx5dD9lZEtKfJAvhSNlk+Owv31 ukwIgSOQI79SNMJiDtNNBTNjrRWN2BYZ0vwuYNIv04IeCT/PQ9Vy5XbnU3VHzN+uocGyh9 z1wWD1LKvAvRy7B5lSvZQLtw2mqeC3MCDaSCs3TNZJpslL8QoT2VPgSHjC7fc8Pq3nJBkT kOIVWhkOKegWjfo2Lg5KwD591m2+1rIqMFHjfKBmB1TK2jzXgRO55GYgS2ZkD95l1pSaUo RO8Z1DTULGxglgww2gLgnHoRJNNxKw8R5UIBJaADag5lu9E8j7C4d/w6Zx8uOw== 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 4QG8D528Wnzh9n; Tue, 9 May 2023 20:00:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 349K0rcf070651; Tue, 9 May 2023 20:00:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 349K0rdo070650; Tue, 9 May 2023 20:00:53 GMT (envelope-from git) Date: Tue, 9 May 2023 20:00:53 GMT Message-Id: <202305092000.349K0rdo070650@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: ca77dc193eb1 - main - games/hyperrogue: fix build on powerpc 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: ca77dc193eb1d9bee82da08024fb7dfce07fc802 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=ca77dc193eb1d9bee82da08024fb7dfce07fc802 commit ca77dc193eb1d9bee82da08024fb7dfce07fc802 Author: Piotr Kubaj AuthorDate: 2023-05-09 19:54:41 +0000 Commit: Piotr Kubaj CommitDate: 2023-05-09 19:54:41 +0000 games/hyperrogue: fix build on powerpc Works around libc++ issue where a wrong string is passed to strlen: strlen (str=0x596f7520 ) at /usr/src/lib/libc/string/strlen.c:101 101 va = (*lp - mask01); --- games/hyperrogue/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/games/hyperrogue/Makefile b/games/hyperrogue/Makefile index 363922313513..3849e76034ca 100644 --- a/games/hyperrogue/Makefile +++ b/games/hyperrogue/Makefile @@ -38,6 +38,12 @@ DESKTOP_ENTRIES="HyperRogue" \ OPTIONS_DEFINE= DOCS +.include + +.if ${ARCH} == powerpc +USE_GCC= yes +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/hyperrogue ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/hr-icon.ico ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.ico