git: 575280da1af2 - main - x11-fm/nautilus: unbreak against clang 15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Feb 2023 13:28:46 UTC
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