From nobody Sun Jan 12 19:12:13 2025 X-Original-To: dev-commits-ports-all@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 4YWQ4Z0Z1hz5l7Ry; Sun, 12 Jan 2025 19:12:14 +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 4YWQ4Y6x1Jz4LNw; Sun, 12 Jan 2025 19:12:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736709134; 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=bBP3I6K+/yUEmUhWNi0JOVRA1+uMxq4odlRv1L/s1Dg=; b=XLgznP7LnEHr3V5CLdIWrCsu7soIy5+bER4O2BRmyqqp41P1CBO67/dqAIjEZwJgk31jLC 005xojvVOMMH2tlKA5intsxBLZ3vnk1V1aQDfTfnyb7w2JRfyPIanuXIitj2hWlu5zTYOW pUOTTMwMnscSvvRCVF/f1qeX2pF9QC4khau8xJbnfi0tkr3t9NixBCDbC4FQdvhPYLwXDz 8e7otbJHM8+I+v5gDFzXrHYfG8jTcGmCT5nm0nrDAOA/m2NtOob6IympiLfAmnU6KYiVl+ oXlwfp6loQ0QsfHHZg2SuLQHYW1M+7Rp/pwRrM7GigqSMg4o7BomARgtTd9t0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736709134; 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=bBP3I6K+/yUEmUhWNi0JOVRA1+uMxq4odlRv1L/s1Dg=; b=VG1IWSa/E5RrZ/DQDJ3ZFzU+LdhrXlfTIjSGEunuOQW7SPovwsLy57JL9k2QxsrKyQE9vv oESj/YfdTP1UN37RkTwHznxgrt44x1VXouGeKRUMN90+gf8Hx3sAydkUZNFP9B5Em57Amu P1EziIP72KN7gWKFbpXiwqtHUpTz36mkUMD95Too5O4f/7jHWS/zoWHWylh/c5B4MVXXZA bNkWFwZJH1jaDpBEZfBJNb5tLs3N4Y/hhE1izJhPSsWsW0YV/OR0STdnar7ZRyngLzRKob Gg5+hgsV0XbFU1XYY0v+hyrrVyzc4A3s9eFcTzLkO2QkMHCxFHotqdfXmsC4jg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736709134; a=rsa-sha256; cv=none; b=S4BJqc3en1WAilgD8HWAHmB3M+mVEzk2ILvqJPSKbP/08ytMJnmim4J8dD59567Uv9Cvkx d0OYBZ37z/Wj6hCjrZu0ndhdZbm/zYOqnTiuVB7bQMgK+rzy8Ff2FCXw+HDPLB5jvD2bFA +0EkFoT73mkXN9XpjW3vdO7X6gJHHjipW5kuq0eah0N5ijBqpwcWErxYueMXqYWdcPsOow FDwKs7KZbIm5lx5k6uavqcHn25WLuZINBX0LQ+Fkye8iux1iw8yTIjElhR14EbSPFSRHb0 1+OCgHPT2PWfdMeP/FQDl7uETysaTcNmyk23eOPqx33B5yNIYy7ClL5rZoaOyA== 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 4YWQ4Y6Vs7zwS6; Sun, 12 Jan 2025 19:12:13 +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 50CJCDnI010841; Sun, 12 Jan 2025 19:12:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50CJCDhJ010838; Sun, 12 Jan 2025 19:12:13 GMT (envelope-from git) Date: Sun, 12 Jan 2025 19:12:13 GMT Message-Id: <202501121912.50CJCDhJ010838@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Charlie Li Subject: git: 5cb5e6989951 - main - science/gchemutils: fix build with glib 2.82 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vishwin X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5cb5e6989951ec3a761dd43597771b414f4492ec Auto-Submitted: auto-generated The branch main has been updated by vishwin: URL: https://cgit.FreeBSD.org/ports/commit/?id=5cb5e6989951ec3a761dd43597771b414f4492ec commit 5cb5e6989951ec3a761dd43597771b414f4492ec Author: Charlie Li AuthorDate: 2025-01-12 19:03:35 +0000 Commit: Charlie Li CommitDate: 2025-01-12 19:12:08 +0000 science/gchemutils: fix build with glib 2.82 PR: 281083 --- science/gchemutils/files/patch-libs_gccv_text.cc | 29 ++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/science/gchemutils/files/patch-libs_gccv_text.cc b/science/gchemutils/files/patch-libs_gccv_text.cc new file mode 100644 index 000000000000..76dc1ad3d546 --- /dev/null +++ b/science/gchemutils/files/patch-libs_gccv_text.cc @@ -0,0 +1,29 @@ +--- libs/gccv/text.cc.orig 2017-02-12 09:10:09 UTC ++++ libs/gccv/text.cc +@@ -1126,7 +1126,7 @@ bool Text::OnKeyPressed (GdkEventKey *event) + if (event->state & GDK_CONTROL_MASK) { + /* move to end of word */ + char const* s = m_Text.c_str (); +- char *p = g_utf8_next_char (s + m_CurPos); ++ char const* p = g_utf8_next_char (s + m_CurPos); + while (*p && (!g_unichar_isgraph (g_utf8_get_char(p)) || g_unichar_ispunct (g_utf8_get_char(p)))) + p = g_utf8_next_char (p); + while (g_unichar_isgraph (g_utf8_get_char(p)) && !g_unichar_ispunct (g_utf8_get_char(p))) +@@ -1137,7 +1137,7 @@ bool Text::OnKeyPressed (GdkEventKey *event) + Invalidate (); + } else { + char const* s = m_Text.c_str (); +- char *p = g_utf8_next_char (s + m_CurPos); ++ char const* p = g_utf8_next_char (s + m_CurPos); + if (!p) + break; + m_CurPos = p - s; +@@ -1224,7 +1224,7 @@ bool Text::OnKeyPressed (GdkEventKey *event) + if (m_CurPos == m_Text.length ()) + break; + char const* s = m_Text.c_str (); +- char *p = g_utf8_next_char (s + m_CurPos); ++ char const* p = g_utf8_next_char (s + m_CurPos); + int new_pos = p - s; + ReplaceText (empty_st, m_CurPos, new_pos - m_CurPos); + if (client)