summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeposite Pirate2024-09-08 20:50:20 +0200
committerDeposite Pirate2024-09-08 20:50:20 +0200
commit1a8a01521dd1edda7a162d2f32f1c77cb8335142 (patch)
tree27bf47b3cb8bd26ac4bacee65a186cf65dd05280
parentb79d411397d8e4981c19d011deeccda7d03042fe (diff)
Fix build with GCC 14
modified: deadbeef-plugin-lyricbar-git/.SRCINFO modified: deadbeef-plugin-lyricbar-git/PKGBUILD
-rw-r--r--deadbeef-plugin-lyricbar-git/.SRCINFO2
-rw-r--r--deadbeef-plugin-lyricbar-git/PKGBUILD5
2 files changed, 5 insertions, 2 deletions
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