diff options
author | Matteo Bernardini | 2018-09-01 10:12:37 +0200 |
---|---|---|
committer | Matteo Bernardini | 2018-09-01 10:12:37 +0200 |
commit | 0d3c059799920874a2756f5f0c48950c73905e1e (patch) | |
tree | 93651e6aab75f47d24167206c8b34a18e156499a /desktop/polybar/polybar.SlackBuild | |
parent | 4c5423efb01cbd567aaea90fbe63d19ef15251d6 (diff) | |
download | slackbuilds-current-20180901.1.tar.gz |
20180901.1 global branch merge.current-20180901.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 |