aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-07-01 18:05:20 +0000
committerJan Beich <jbeich@FreeBSD.org>2023-07-01 18:11:42 +0000
commit26737de1cf1f5d2cc9583b4cdf19a6d327739d8e (patch)
treecda226795fdfec360a8e6bf4d9b39c34e25b8356
parenta4a6e4be184e51b4d9cc39168033560a16cd8b69 (diff)
downloadports-26737de1cf1f5d2cc9583b4cdf19a6d327739d8e.tar.gz
ports-26737de1cf1f5d2cc9583b4cdf19a6d327739d8e.zip
sysutils/tiramisu: unbreak build with clang 16
src/notification.vala.c:580:31: error: incompatible function pointer types passing 'void (gconstpointer, gconstpointer, gpointer)' (aka 'void (const void *, const void *, void *)') to parameter of type 'GHFunc' (aka 'void (*)(void *, void *, void *)') [-Wincompatible-function-pointer-types] g_hash_table_foreach (hints, ___lambda4__gh_func, _data1_); ^~~~~~~~~~~~~~~~~~~ /usr/local/include/glib-2.0/glib/ghash.h:114:61: note: passing argument to parameter 'func' here GHFunc func, ^ src/notification.vala.c:747:31: error: incompatible function pointer types passing 'void (gconstpointer, gconstpointer, gpointer)' (aka 'void (const void *, const void *, void *)') to parameter of type 'GHFunc' (aka 'void (*)(void *, void *, void *)') [-Wincompatible-function-pointer-types] g_hash_table_foreach (hints, ___lambda5__gh_func, _data2_); ^~~~~~~~~~~~~~~~~~~ /usr/local/include/glib-2.0/glib/ghash.h:114:61: note: passing argument to parameter 'func' here GHFunc func, ^ Reported by: pkg-fallout (cherry picked from commit f45d33bcfa053cd8e72a9ec9d05c610d5afa270a)
-rw-r--r--sysutils/tiramisu/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysutils/tiramisu/Makefile b/sysutils/tiramisu/Makefile
index b138786fb91e..3e7af683b46c 100644
--- a/sysutils/tiramisu/Makefile
+++ b/sysutils/tiramisu/Makefile
@@ -13,6 +13,7 @@ USES= gmake gnome pkgconfig vala:build
USE_GITHUB= yes
USE_GNOME= glib20
GH_ACCOUNT= Sweets
+MAKE_ARGS= CC="${CC} ${CFLAGS}"
PLIST_FILES= bin/${PORTNAME}
post-install: