From nobody Sat Dec 24 12:23:29 2022 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 4NfNW61fYCz1Ljxf; Sat, 24 Dec 2022 12:23:30 +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 4NfNW611t6z4FbG; Sat, 24 Dec 2022 12:23:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671884610; 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=/XKnQMa+kD6OyrAxUeVz3DTDfiyxUkrzjSYRrQS3ods=; b=H6jBbRA/QyL2jFGFSDfOjhILGQTk6HWX0/nZsYVkix2W0LPGqJrmpykr7Eadqxt4yJSOOz AxsasuU/rqep0Ga45sJij+wJahp5wAiflLHARuJCflCTBGbJxQbfWueXcItqbeGAufDASK 9ooWIo5rxhG/RrVdkRPheIUqXtl1utWfsNZJ0Ro0rQwBdF1Y7GvNodOFuxR7M4I7a4A1Qd IyruJxXUuwNA6ISL/hXxqWgENMXVj1jS6pydZ7veATf66uubgCsJgdFt25HKAC9kCy6M+L ksU/jBNp7cB9S7FbB7SfTfTW38cyCOh56bo94xO7cocpBE0IcD9dfE5wRHf67A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671884610; 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=/XKnQMa+kD6OyrAxUeVz3DTDfiyxUkrzjSYRrQS3ods=; b=iK4JUaoqcicx37PpyMXKLhPDbOThRwt6b2tmk90njyOPLCy0OhUpcULdB5nvQe/m4mpaBm UscWIvj+VJ7pYyDGgmxTiwjGJ17AE/fLyvF6zRPw9HTReNw2lzQPV8TXt7LCCRsaxy6SE9 RB7/PR67hcbLHIQoHjBuXlfF7jjh9sjqPGT7zTGnhYgxQ/RZF8H0lnjL7KXP2LJAEQHWoO 5gpbScJucyASPdZruKmxhfFFB1Iq3b2vkj14IOG+iN1q6uvsao/2qtWa/B/iiHMFtYWYg1 3QjVcBXqxkVPQ1NyB+s4T1HA/DDUfYdiBwBfQ/DH8D8h9vgmvjlom04O4S0H2g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671884610; a=rsa-sha256; cv=none; b=yZybrYpA7psjhNBORTTfRhjDpnX8P29Q7Qyp8MKxfIdx9CDHpAV0SVRVjUKyTLS6KQM0yT S23AsXxTeGA8qXBmMuM20drEnWFOn8ZWTBqfIXJ24sE+Qxut5akZ0poxpCNec3yg2tR0VG DO27S7q16KIMF/nBzKLUG+1h2OU0AgDPhICMbnE6CzWRLWuFKtfeRbKyt83CX/90wPyfBr 7ujaRm6IkO4vePOpLo1TllI2obKYE+wg0MwJA/VakZ3Khr1s1RDg/FtOM3CsNQOzzJZsYB ShmwdlkXQLFqtKyUUNQ5sqsYyNKTRxwHExghf9aE7l6KdZ0cTSc/jui9rMkG1w== 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 4NfNW60381z1CKj; Sat, 24 Dec 2022 12:23:30 +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 2BOCNTXG013728; Sat, 24 Dec 2022 12:23:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BOCNT3X013727; Sat, 24 Dec 2022 12:23:29 GMT (envelope-from git) Date: Sat, 24 Dec 2022 12:23:29 GMT Message-Id: <202212241223.2BOCNT3X013727@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Guido Falsi Subject: git: 616a80e8ed0a - main - sysutils/xfce4-systemload-plugin: Fix build on i386 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: madpilot X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 616a80e8ed0af226ce2f00c2a6c92f281407a4df Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by madpilot: URL: https://cgit.FreeBSD.org/ports/commit/?id=616a80e8ed0af226ce2f00c2a6c92f281407a4df commit 616a80e8ed0af226ce2f00c2a6c92f281407a4df Author: Guido Falsi AuthorDate: 2022-12-24 12:20:53 +0000 Commit: Guido Falsi CommitDate: 2022-12-24 12:23:25 +0000 sysutils/xfce4-systemload-plugin: Fix build on i386 Bug is known upstream: https://gitlab.xfce.org/panel-plugins/xfce4-systemload-plugin/-/issues/25 Adding a home made patch to address the issue. Will update patch with official one if needed, once upstream publishes its patch. Reported by: pkg-fallout --- .../files/patch-panel-plugin_network.cc | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/sysutils/xfce4-systemload-plugin/files/patch-panel-plugin_network.cc b/sysutils/xfce4-systemload-plugin/files/patch-panel-plugin_network.cc new file mode 100644 index 000000000000..6e36bc2b8595 --- /dev/null +++ b/sysutils/xfce4-systemload-plugin/files/patch-panel-plugin_network.cc @@ -0,0 +1,29 @@ +--- panel-plugin/network.cc.orig 2022-02-16 18:57:05 UTC ++++ panel-plugin/network.cc +@@ -39,7 +39,7 @@ static gint + #include + + static gint +-read_netload_libgtop (gulong *bytes) ++read_netload_libgtop (guint64 *bytes) + { + glibtop_netlist netlist; + char **interfaces = glibtop_get_netlist (&netlist); +@@ -60,7 +60,7 @@ static gint + #else + + static gint +-read_netload_libgtop (gulong *bytes) ++read_netload_libgtop (guint64 *bytes) + { + return -1; + } +@@ -70,7 +70,7 @@ static gint + static const char *const PROC_NET_NETSTAT = "/proc/net/netstat"; + + static gint +-read_netload_proc (gulong *bytes) ++read_netload_proc (guint64 *bytes) + { + char buf[4*1024]; + unsigned long long dummy, in_octets, out_octets;