From d55cb6fb230538a1fc994965a4510932c7198149 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Wed, 11 Sep 2024 11:34:03 +0200
Subject: [PATCH] community/xfce4-notes-plugin: fix build with gcc 14

use -fpermissive due to vala
---
 community/xfce4-notes-plugin/APKBUILD | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/community/xfce4-notes-plugin/APKBUILD b/community/xfce4-notes-plugin/APKBUILD
index be5fbced2842..ecaec4bb49f6 100644
--- a/community/xfce4-notes-plugin/APKBUILD
+++ b/community/xfce4-notes-plugin/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
 pkgname=xfce4-notes-plugin
 pkgver=1.11.0
-pkgrel=0
+pkgrel=1
 pkgdesc="Notes plugin for the Xfce4 desktop"
 url="https://goodies.xfce.org/projects/panel-plugins/xfce4-notes-plugin"
 arch="all"
@@ -12,7 +12,8 @@ subpackages="$pkgname-lang"
 source="https://archive.xfce.org/src/panel-plugins/xfce4-notes-plugin/${pkgver%.*}/xfce4-notes-plugin-$pkgver.tar.bz2"
 
 build() {
-	./configure \
+	# use -fpermissive due to vala
+	CFLAGS="$CFLAGS -fpermissive" ./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
 		--prefix=/usr \
-- 
GitLab