diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2015-11-26 08:43:58 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-11-28 07:25:59 +0700 |
commit | 6fc1d550577fb7f9aadb17e45c0f33676fd7aaaa (patch) | |
tree | 953b641e03b9b1e558996974fa23c2295cbaf700 /audio/flake/flake.SlackBuild | |
parent | 0fabf487392e35eb4ec58ed3ac4d7e5217c7e9a1 (diff) |
audio/flake: Fix buffer overrun.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/flake/flake.SlackBuild')
-rw-r--r-- | audio/flake/flake.SlackBuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/audio/flake/flake.SlackBuild b/audio/flake/flake.SlackBuild index fcd7a257b25a..b675b9f05a00 100644 --- a/audio/flake/flake.SlackBuild +++ b/audio/flake/flake.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=flake VERSION=${VERSION:-0.11} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,6 +69,8 @@ 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 {} \; +patch -p1 < $CWD/1001-buffer_overrun.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -81,7 +83,14 @@ make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +mkdir -p $PKG/usr/man/man1 +cp -a $CWD/flake.1 $PKG/usr/man/man1 + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + DOCS="Changelog COPYING README" + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-SlackBuild |