From nobody Tue Dec 31 14:00:49 2024 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 4YMvkq4zr6z5jTfn; Tue, 31 Dec 2024 14:00:51 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMvkn6F3hz4nNX; Tue, 31 Dec 2024 14:00:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735653649; 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=hBWQhkwK0mtvPKBRR+g4jh844NfSiYVKXIFHDy6eJ0c=; b=P7h0cajXcIYNU/EEdCb4KncpzTS0BB3YLGIOughv518r7FzIiGVS6tvjIL+0OxrBVbXCCa IZYsLcq9FDdRNBwFE7QZjX2X9NIKAhYFVpt63vVsIb+3d3WiWXiTTb4vauf5kX/0rN2poO H3S3qBPr+DbQKud/IhIcHiPGvajiiP6v5wkBnRfev712yinAt7NFmSq8JqJlSs1qul7Bqg vqlenUp++PQ4A2tA8zxS2s5maz5/n24Xhy/rLOEQOxtNSEWy3ATrPxEzlwBCGDuZ5Ig68L kQga7BrwK5SfxmADAjgG+XDGNCz23YxJlGb4mw9Z/CarSf/rJwNkMrFMHmBqsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735653649; 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=hBWQhkwK0mtvPKBRR+g4jh844NfSiYVKXIFHDy6eJ0c=; b=lJuNJ5/fbDLbkb7TENLQYCUN+12oK8gYMC9eACDZArM2HmJuAodCLvaDp8AYVHXsZ90e88 eXrTlUHgU1+oxiFgPY9MZe1aMZv3WEo8wtmwBUZXvpjolbpgeX2YieOgVWh3527qbJ2mb5 MSNx09wXynqMY+kKbDBKOXrn3bJ19A5DmPrxwYN8z0J048FmJBq/pD3Gi1K73Mt+KhEdPc Fh4CriwE5+c5PFtr1oR9lu/cghc3R2CkmxxYjDfL/SM2BkA0dPL4Hww+qFpuIEbqHNu0YA zDRhiD7P998bbcqeIYF/EFZzc5zApL6Qm9cYPEN6amPQ999DEvY6ahpYA17olw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735653649; a=rsa-sha256; cv=none; b=W3gHcn6cYiGEJbbJjYn/dTh0vP8s+lM85Dwwyojg7GWX7uqBZCrik1guGCnNpUnNHXua0B gIDnRmqvldJ7XRQVLLiAC1btTpKzpNCNqGx8av19nDzk3SUToGMwNMU6L7Aeieth1TB/zh 5OC5uIrS8RPHu93u7etME9F4je09lJDGqqTjJU5lWE+3ykf+SH/8PNwzWlFI4ViamwJ4N7 Je7V2GEFOcnD9HLxiLngN0dPaIzRShT/U5xQ7Czwh4u2ontc3nXxjUyRZFQcG5huWI3B6k T8Ho+U4L204MG65TIfhfRaYM6Ze+nuCgxh5eCFhFfCfOmncpw41zc1IiyX+53A== 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 4YMvkn1hW1zjL6; Tue, 31 Dec 2024 14:00:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4BVE0nGV053575; Tue, 31 Dec 2024 14:00:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BVE0nMP053572; Tue, 31 Dec 2024 14:00:49 GMT (envelope-from git) Date: Tue, 31 Dec 2024 14:00:49 GMT Message-Id: <202412311400.4BVE0nMP053572@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: 40b80af5fee0 - main - games/jumpy: fix build on powerpc*, probably also armv7 and aarch64 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-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: 40b80af5fee0cefa1c2b33da129d50c0b8b4d3b7 Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=40b80af5fee0cefa1c2b33da129d50c0b8b4d3b7 commit 40b80af5fee0cefa1c2b33da129d50c0b8b4d3b7 Author: Piotr Kubaj AuthorDate: 2024-12-31 10:28:31 +0000 Commit: Piotr Kubaj CommitDate: 2024-12-31 13:59:57 +0000 games/jumpy: fix build on powerpc*, probably also armv7 and aarch64 All powerpc*, armv7 and aarch64 use unsigned char. --- games/jumpy/Makefile | 3 --- .../patch-cargo-crates_netdev-0.30.0_src_interface_unix.rs | 13 +++++++++++++ 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/games/jumpy/Makefile b/games/jumpy/Makefile index 1f38b3a671fb..e7d33d458148 100644 --- a/games/jumpy/Makefile +++ b/games/jumpy/Makefile @@ -13,9 +13,6 @@ LICENSE_COMB= multi LICENSE_FILE_MIT= ${WRKSRC}/licenses/LICENSE-MIT LICENSE_DISTFILES_CC-BY-NC-4.0= ${DISTNAME}${EXTRACT_SUFX} -BROKEN_aarch64= need https://github.com/shellrow/netdev/pull/71 -BROKEN_armv7= need https://github.com/shellrow/netdev/pull/71 - LIB_DEPENDS= libasound.so:audio/alsa-lib \ libudev.so:devel/libudev-devd RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \ diff --git a/games/jumpy/files/patch-cargo-crates_netdev-0.30.0_src_interface_unix.rs b/games/jumpy/files/patch-cargo-crates_netdev-0.30.0_src_interface_unix.rs new file mode 100644 index 000000000000..6b1c52b14dda --- /dev/null +++ b/games/jumpy/files/patch-cargo-crates_netdev-0.30.0_src_interface_unix.rs @@ -0,0 +1,13 @@ +--- cargo-crates/netdev-0.30.0/src/interface/unix.rs.orig 2024-12-27 16:28:59 UTC ++++ cargo-crates/netdev-0.30.0/src/interface/unix.rs +@@ -189,8 +189,8 @@ fn sockaddr_to_network_addr(sa: *mut libc::sockaddr) - + if sa.is_null() { + (None, None) + } else if (*sa).sa_family as libc::c_int == libc::AF_LINK { +- let nlen: i8 = (*sa).sa_data[3]; +- let alen: i8 = (*sa).sa_data[4]; ++ let nlen: c_char = (*sa).sa_data[3]; ++ let alen: c_char = (*sa).sa_data[4]; + if alen > 0 && alen as u8 + nlen as u8 + 8 <= (*sa).sa_len { + let ptr = (*sa).sa_data.as_mut_ptr(); + let extended =