From nobody Wed Jul 05 07:08:54 2023 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 4QwrP31NZmz4mBvx; Wed, 5 Jul 2023 07:08:55 +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 4QwrP30vRtz3lll; Wed, 5 Jul 2023 07:08:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688540935; 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=GBMZgt6RmnYzzRFAo9uGSJk7H9N4bkNfrmwyf8xl5x8=; b=hGUlsv3/Bgd3D6ow03wjhJTbIm5DnwqWvkW/105TB36kWDXWhf0V1JHhsmzlZXN9MR3Ccx yFjAxhuMDh6xAH0OrI7tUYJTogFv1/raORdiMeQi2CiH8STnOYNKA+B0rhmIdz4j/R0N8s kh7dFdr3WoItSoHphS3f79AaJ4z8AHos8lF1jUexdzrDoL44wv+CuEaKpfCSIIFV66AHKW 8AjeIMfn1eyK0/MnAfjtQxjjbXAfPVkliq//k+8oXTcnF1cJDycCiHmOBR4fGiwh2nDQ6u O7oladfFaQXkj8q7w0o8UQa3acRgGbmnRoaWO1bbveNI3TOhOBCI/ClvOP3RHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688540935; 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=GBMZgt6RmnYzzRFAo9uGSJk7H9N4bkNfrmwyf8xl5x8=; b=dsOOHnfNaseuYmGefsz3B243aWcp7m5tBLLXtdkJLxatFb1IueaaMjXHakwZvyh2wVZwj8 MgikIl9oTKKfC9mlydlOL+TFhdWB2Gmw4Xim9ClBwdib/gpge+FVRqow2pSAGNeR3uzk43 TJRaOYUhJhz8oOmMlFTIUut7t0wd2QaZNzhbj/y+702kFoQ9tdNsABrA2krBIZZ0d29muw u9Au8iYIJfdToPeSzuPnDpbuKdWRjilIwA2UJIaoiGqSME+aLnJdI49dSHx0TLq2HlPkf1 6Xwdr9+IqR66XRgSrp6HU8anSHXO7C36MPy+HlamtnH924lQ5frZNsTEnqo1Fw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688540935; a=rsa-sha256; cv=none; b=qWDoptCUJbWBshZGQRIuomzk0dI5ajADGwaonNzFoIZA/FuNAiRR8/Asd4lspvX+NQQFNs +e8ffIfhjIMkz1G22n+SZEJjhSQqMM1ABIQ3ToLkRbJd8VRfsZsrqi4WTV0UetLui4orl9 h6EHKWUEZX4DL8t5NVORbzTIhVvESjIa5qCmgLwatHMoBmtn7vRq+IIC8RY9PcoIk4BdZT uR/bdm+2RX3CrtBplA3LuYWfN6oRPebzPzytRUs+ppU8LF3adFqQm+GgXr53Du3Sso4jEP xDL1dClw7UJ3ZgX4JoQUfLNgTXCrhEOpRJM25AW5VaVViYZOyqDh0PcO0Cp6dw== 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 4QwrP26z5Xz14vF; Wed, 5 Jul 2023 07:08:54 +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 36578slH076598; Wed, 5 Jul 2023 07:08:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36578s6I076597; Wed, 5 Jul 2023 07:08:54 GMT (envelope-from git) Date: Wed, 5 Jul 2023 07:08:54 GMT Message-Id: <202307050708.36578s6I076597@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Nuno Teixeira Subject: git: b489c39b0d63 - 2023Q3 - www/bluefish: Fix build on clang16 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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/2023Q3 X-Git-Reftype: branch X-Git-Commit: b489c39b0d63e5b4715ec0db459df5dbc8b5e510 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch 2023Q3 has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=b489c39b0d63e5b4715ec0db459df5dbc8b5e510 commit b489c39b0d63e5b4715ec0db459df5dbc8b5e510 Author: Nuno Teixeira AuthorDate: 2023-07-04 23:52:23 +0000 Commit: Nuno Teixeira CommitDate: 2023-07-05 07:08:42 +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 (cherry picked from commit e95c4bea425b3e3c49b63e0cf4eff24af40c574b) --- 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));