diff options
author | Matteo Bernardini | 2018-10-06 08:26:41 +0200 |
---|---|---|
committer | Matteo Bernardini | 2018-10-06 08:26:41 +0200 |
commit | 389b3c43f33cdd25ba13cfc9b5ee1674106fbc13 (patch) | |
tree | dd8081a1bc6dbfeec30e68b4774b144864f2bef0 /desktop/polybar/polybar.SlackBuild | |
parent | 4f4d6a32cce667ebff01e9d73878e4894c0328d4 (diff) | |
download | slackbuilds-current-20181006.1.tar.gz |
20181006.1 global branch merge.current-20181006.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop/polybar/polybar.SlackBuild')
-rw-r--r-- | desktop/polybar/polybar.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop/polybar/polybar.SlackBuild b/desktop/polybar/polybar.SlackBuild index c2e6b4cb72..155f9059f9 100644 --- a/desktop/polybar/polybar.SlackBuild +++ b/desktop/polybar/polybar.SlackBuild @@ -75,6 +75,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +( cd lib/xpp + patch -p1 < $CWD/00165e1a6d5dd61bc153e1352b21ec07fc81245d.patch ) + # Fixes install location sed -i -e '/share\/doc\/polybar/s/share\///' doc/CMakeLists.txt sed -i -e '/share\/man\/man1/s/share\///' man/CMakeLists.txt @@ -83,7 +86,7 @@ mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-error=implicit-fallthrough" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release .. make -j1 |