diff options
author | Eric Hameleers <alien@slackware.com> | 2020-11-14 15:52:12 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-11-14 15:52:12 +0000 |
commit | a869bbd6e70b237705692fe89b8e6ae2a138bf92 (patch) | |
tree | c25864065481c65a44a5bc76f1caf10e862b4d02 | |
parent | dcfe32994b2a8d7f91dec811adf7f1006788a12b (diff) | |
download | asb-a869bbd6e70b237705692fe89b8e6ae2a138bf92.tar.gz asb-a869bbd6e70b237705692fe89b8e6ae2a138bf92.tar.xz |
bwbar: debian patches to allow for longer interface names like 'docker0' and to add a '--directory' option
-rwxr-xr-x | bwbar/build/bwbar.SlackBuild | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bwbar/build/bwbar.SlackBuild b/bwbar/build/bwbar.SlackBuild index c02152c0..6ec5c54b 100755 --- a/bwbar/build/bwbar.SlackBuild +++ b/bwbar/build/bwbar.SlackBuild @@ -33,6 +33,8 @@ # Changelog: # 1.2.2-1: 13/Nov/2020 by Eric Hameleers <alien@slackware.com> # * Initial build. +# 1.2.2-2: 43/Nov/2020 by Eric Hameleers <alien@slackware.com> +# * Allow for longer interface names (like 'docker0') # # Run 'sh bwbar.SlackBuild' to build a Slackware package. # The package (.t?z) and .txt file as well as build logs are created in /tmp . @@ -153,6 +155,15 @@ cd ${PRGNAM}-${VERSION} sed -i '1,1i#include <zlib.h>' bwbar.c sed -i 's,png_ptr->jmpbuf,png_jmpbuf(png_ptr),' bwbar.c +# Debian patches: +touch $OUTPUT/patch-${PRGNAM}.log +# Allow for longer interface names (like 'docker0'): +cat $SRCDIR/patches/bwbar_proc_net_2.6.x_fix.patch | patch -p1 --verbose \ + 2>&1 | tee -a $OUTPUT/patch-${PRGNAM}.log +# Add '--directory' option: +cat $SRCDIR/patches/bwbar_directory_option.patch + 2>&1 | tee -a $OUTPUT/patch-${PRGNAM}.log + chown -R root:root . chmod -R u+w,go+r-w,a+rX-st . |