diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2012-08-21 18:32:45 +0200 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2012-08-21 18:32:45 +0200 |
commit | 09b26cc529f915b27da7856c04ddee4548604db8 (patch) | |
tree | 8c6700deb3af033c1607c58890f5db73322b0b9c /libraries/libffado/libffado.SlackBuild | |
parent | 6a3b1454e6024a6be755fa8a7e493664cda94828 (diff) |
libraries/libffado: Fixed building with new gcc
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'libraries/libffado/libffado.SlackBuild')
-rw-r--r-- | libraries/libffado/libffado.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libraries/libffado/libffado.SlackBuild b/libraries/libffado/libffado.SlackBuild index 1a890a7c28bfa..d8017f5a3d865 100644 --- a/libraries/libffado/libffado.SlackBuild +++ b/libraries/libffado/libffado.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libffado -# Copyright 2010 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2010-2012 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=libffado VERSION=2.0.1 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,6 +69,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Fix building with gcc 4.7 +patch -p1 -i $CWD/libffado-gcc47.patch + # Use our CFLAGS sed -i "s/-O2 -DNDEBUG/$SLKCFLAGS -DNDEBUG/" SConstruct |