Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Feb 2023 13:28:46 GMT
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 575280da1af2 - main - x11-fm/nautilus: unbreak against clang 15
Message-ID:  <202302191328.31JDSkcs053634@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=575280da1af2adb351311789506fdf34e7861b7c

commit 575280da1af2adb351311789506fdf34e7861b7c
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2023-02-19 13:06:36 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2023-02-19 13:25:11 +0000

    x11-fm/nautilus: unbreak against clang 15
    
    ../src/nautilus-list-model.c:1628:42: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
    nautilus_list_model_get_drag_target_list ()
                                             ^
                                              void
---
 x11-fm/nautilus/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/x11-fm/nautilus/Makefile b/x11-fm/nautilus/Makefile
index 0c45cc7c65a6..3c6326b9f3df 100644
--- a/x11-fm/nautilus/Makefile
+++ b/x11-fm/nautilus/Makefile
@@ -34,6 +34,8 @@ CPE_VENDOR=	gnome
 
 GLIB_SCHEMAS=	org.gnome.nautilus.gschema.xml
 
+CFLAGS+=	-Wno-error=strict-prototypes
+
 OPTIONS_DEFINE=		GVFS
 OPTIONS_DEFAULT=	GVFS
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302191328.31JDSkcs053634>