From nobody Wed Jul 05 00:02:02 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 4QwfwV4VTTz4ltyr; Wed, 5 Jul 2023 00:02:02 +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 4QwfwV3ztBz3k3h; Wed, 5 Jul 2023 00:02:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688515322; 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=u1CvSB2y+ygECf1Vus0ttNBnzSm+kqNFfSiHNntIfL4=; b=GNSsE2Av3Y27DhRer4uaPwmO233roWMsr2cr9BLl4XGMSf9r8Z22fXnDstIEYtpmCXLGgX AmuW7+p77w0PtxerA7wvk7zTtsz1jyI5rz4HM7G0tEbjD+Zrz5tR9ofsuzz88tA5SPZ/ep VLmPUvVzwJOm1FWDDsQ+5oI96jdN3zZtuSusAiLLHktwyYQjH1YljwA1lV6dfjcHkmktt8 9nJ8yCzZ5eI4C+rcaYJFCiBBUm4FtdEJyciLiz9CE+XCybivtOkvdKOGtogGjm90uo+eMg IXBfeUOOjELKT3Yk0Of4lqG2hdk+bMuw5i/8bm65/uM1NnKmTaRdKYe+124y4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688515322; 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=u1CvSB2y+ygECf1Vus0ttNBnzSm+kqNFfSiHNntIfL4=; b=NrBMNRwIw8Ntbfc7FHJotGzFPlWVV9a8+0ZwHCZ7CliXu7v2xGRc422gT3fZQz6jtWiFoA WE6GLYC6vWuCkbLMcvEn5ZxS+h0/53niziqVK7XoeI4/W+TYdNcz6dtemKMHyEvrhe/MVJ LlKZjK2rhogFJf3krsqGMVToXvccxKsjudxbnIMV/T9A69Cgd5K117DRsRHPv21CDu5kbV AZZWuOjAd1kJDXdA0QQdLQtprloxH79arsTvoHnBCQQMiHaE8KRJhvWIvX/60DTaRxaY85 9Rbh82Mx01CThEicNU+8slQDOOlO0Sis/40JClp0RDw0FCrjgME3qs59oTkLXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688515322; a=rsa-sha256; cv=none; b=JZMU3Rht7wgkuNGHg1IRHZpusOkrmF/VEcBMzzeQ/Lp5D4MbmD4FsmZZdQWskYQLSl/f13 2XAmcCbfHO0dJVYU/dUutCgTT8WrzGNn7EIkjZRq7oEndVyP/lFkVyL/oTgib+07ReNyXU my/9sgmXfUi4B5sJMMDjWcWJ6vWLD9ismP2Q50XD1TgHRr6S5pnvG8Jylr+AmvZA7wDq8P NDxvD+Z+IcG95zxnN6inoHP2EwZDaGS6kBy5DU2ws+Ch5jKEtsBM4eSUK27ZetKghq9d3Z aio/09Y3NVOVFaGq5brK575stWMzKmkfKgw68p0UK22Z74pcYDmOgTOH8pglQA== 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 4QwfwV2p8lztBy; Wed, 5 Jul 2023 00:02:02 +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 365022fc073623; Wed, 5 Jul 2023 00:02:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 365022AN073622; Wed, 5 Jul 2023 00:02:02 GMT (envelope-from git) Date: Wed, 5 Jul 2023 00:02:02 GMT Message-Id: <202307050002.365022AN073622@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: e95c4bea425b - main - www/bluefish: Fix build on clang16 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: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e95c4bea425b3e3c49b63e0cf4eff24af40c574b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=e95c4bea425b3e3c49b63e0cf4eff24af40c574b commit e95c4bea425b3e3c49b63e0cf4eff24af40c574b Author: Nuno Teixeira AuthorDate: 2023-07-04 23:52:23 +0000 Commit: Nuno Teixeira CommitDate: 2023-07-05 00:01:47 +0000 www/bluefish: Fix build on clang16 Use G_CALLBACK() macro to silence incompatible function pointer warnings and disables any argument checks. Sugested by: dim See also: https://lists.freebsd.org/archives/freebsd-ports/2023-July/004036.html MFH: 2023Q3 --- www/bluefish/Makefile | 1 + www/bluefish/files/patch-src_bftextview2__autocomp.c | 11 +++++++++++ www/bluefish/files/patch-src_external__commands.c | 11 +++++++++++ 3 files changed, 23 insertions(+) diff --git a/www/bluefish/Makefile b/www/bluefish/Makefile index cb70663a38d5..c5cfd419be0e 100644 --- a/www/bluefish/Makefile +++ b/www/bluefish/Makefile @@ -1,5 +1,6 @@ PORTNAME= bluefish DISTVERSION= 2.2.14 +PORTREVISION= 1 CATEGORIES= www editors MASTER_SITES= https://www.bennewitz.com/bluefish/stable/source/ \ SF diff --git a/www/bluefish/files/patch-src_bftextview2__autocomp.c b/www/bluefish/files/patch-src_bftextview2__autocomp.c new file mode 100644 index 000000000000..fad336a7c3f3 --- /dev/null +++ b/www/bluefish/files/patch-src_bftextview2__autocomp.c @@ -0,0 +1,11 @@ +--- src/bftextview2_autocomp.c.orig 2023-07-04 14:09:37 UTC ++++ src/bftextview2_autocomp.c +@@ -429,7 +429,7 @@ acwin_create(BluefishTextView * btv) + /*gtk_widget_set_size_request(acw->reflabel,150,-1); */ + gtk_widget_show_all(acw->scroll); + gtk_widget_show(hbox); +- g_signal_connect(acw->reflabel, "activate-link", acw_label_active_link_lcb, acw); ++ g_signal_connect(acw->reflabel, "activate-link", G_CALLBACK(acw_label_active_link_lcb), acw); + /*gtk_widget_set_size_request(GTK_WIDGET(acw->tree),100,200); */ + /*gtk_widget_set_size_request(acw->win, 150, 200); */ + /*g_signal_connect(G_OBJECT(acw->win),"key-release-event",G_CALLBACK(acwin_key_release_lcb),acw); */ diff --git a/www/bluefish/files/patch-src_external__commands.c b/www/bluefish/files/patch-src_external__commands.c new file mode 100644 index 000000000000..fb5fe1492f4a --- /dev/null +++ b/www/bluefish/files/patch-src_external__commands.c @@ -0,0 +1,11 @@ +--- src/external_commands.c.orig 2023-07-04 14:12:18 UTC ++++ src/external_commands.c +@@ -483,7 +483,7 @@ create_commandstring(Texternalp * ep, const gchar * fo + gtk_dialog_set_default_response(GTK_DIALOG(dialog),GTK_RESPONSE_ACCEPT); + tmp = g_strdup_printf(_("Supply arguments to define %%a in '%s'"), formatstring); + entry = dialog_entry_labeled(NULL, tmp, gtk_dialog_get_content_area(GTK_DIALOG(dialog)), 6); +- g_signal_connect(G_OBJECT(entry), "activate", command_dialog_entry_activated_lcb, dialog); ++ g_signal_connect(G_OBJECT(entry), "activate", G_CALLBACK(command_dialog_entry_activated_lcb), dialog); + g_free(tmp); + gtk_widget_show_all(dialog); + result = gtk_dialog_run(GTK_DIALOG(dialog));