From 1a8a01521dd1edda7a162d2f32f1c77cb8335142 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 8 Sep 2024 20:50:20 +0200 Subject: Fix build with GCC 14 modified: deadbeef-plugin-lyricbar-git/.SRCINFO modified: deadbeef-plugin-lyricbar-git/PKGBUILD --- deadbeef-plugin-lyricbar-git/.SRCINFO | 2 +- deadbeef-plugin-lyricbar-git/PKGBUILD | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'deadbeef-plugin-lyricbar-git') diff --git a/deadbeef-plugin-lyricbar-git/.SRCINFO b/deadbeef-plugin-lyricbar-git/.SRCINFO index cda5a8a..fc0852d 100644 --- a/deadbeef-plugin-lyricbar-git/.SRCINFO +++ b/deadbeef-plugin-lyricbar-git/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = deadbeef-plugin-lyricbar-git pkgdesc = DeaDBeeF lyric bar plugin pkgver = r80.ga1b2dba - pkgrel = 3 + pkgrel = 4 url = https://github.com/loskutov/deadbeef-lyricbar arch = i686 arch = x86_64 diff --git a/deadbeef-plugin-lyricbar-git/PKGBUILD b/deadbeef-plugin-lyricbar-git/PKGBUILD index 7eb5a0f..2818478 100644 --- a/deadbeef-plugin-lyricbar-git/PKGBUILD +++ b/deadbeef-plugin-lyricbar-git/PKGBUILD @@ -5,7 +5,7 @@ _pkgname=deadbeef-lyricbar pkgname=deadbeef-plugin-lyricbar-git pkgver=r80.ga1b2dba -pkgrel=3 +pkgrel=4 pkgdesc="DeaDBeeF lyric bar plugin" arch=('i686' 'x86_64') url="https://github.com/loskutov/deadbeef-lyricbar" @@ -36,6 +36,9 @@ prepare() { build() { cd "${_pkgname}" + # Fix GCC14 + export CFLAGS+=" -Wno-incompatible-pointer-types" + export CXXFLAGS+=" -Wno-incompatible-pointer-types" make COPTS="${CFLAGS}" CXXOPTS="${CXXFLAGS}" gtk2 mv ddb_lyricbar_gtk2.so ddb_lyricbar_gtk2.so.save make clean -- cgit v1.2.3-70-g09d2