diff options
author | willemw12 | 2022-01-09 19:21:38 +0100 |
---|---|---|
committer | willemw12 | 2022-01-09 19:21:38 +0100 |
commit | 07e824f5bbd5e88b8e9823925d267e29ccb1a0b8 (patch) | |
tree | de8559cd810f5a3ca5e4fa265ca328fa7910e2bc | |
parent | b01ed1ce454bb1dec29a9a5ce00d542e4f04c5f5 (diff) | |
download | aur-pmus-git.tar.gz |
Patch -Werror=format-truncation build error
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = pmus-git pkgdesc = Practical Music Search is a highly configurable, ncurses-based client for MPD pkgver = 0.42.r401.g318d75a - pkgrel = 1 + pkgrel = 2 url = https://ambientsound.github.io/pms arch = x86_64 license = GPL @@ -3,7 +3,7 @@ pkgname=pmus-git pkgver=0.42.r401.g318d75a -pkgrel=1 +pkgrel=2 pkgdesc="Practical Music Search is a highly configurable, ncurses-based client for MPD" arch=('x86_64') url="https://ambientsound.github.io/pms" @@ -24,6 +24,9 @@ build() { CFLAGS=${CFLAGS/-Werror=format-security/} CXXFLAGS=${CXXFLAGS/-Werror=format-security/} + CFLAGS=${CFLAGS/-Werror=format-truncation/} + CXXFLAGS=${CXXFLAGS/-Werror=format-truncation/} + cmake -B build -S $pkgname -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev make -C build } |