diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2012-09-25 21:53:13 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-26 00:00:46 -0500 |
commit | f751cc741a40d5b4fa961a8d4898c6da85aa557c (patch) | |
tree | 39e6bed093072290e5519600e687471ca4a04236 /graphics/aeskulap/aeskulap.SlackBuild | |
parent | 9a78ee72888c71f3a6bc8b5a50b813ac4b13b374 (diff) | |
download | slackbuilds-f751cc741a40d5b4fa961a8d4898c6da85aa557c.tar.gz |
graphics/aeskulap: Added a patch for gcc-4.7.x.
Also fixed other patch name in the SlackBuild
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics/aeskulap/aeskulap.SlackBuild')
-rw-r--r-- | graphics/aeskulap/aeskulap.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/graphics/aeskulap/aeskulap.SlackBuild b/graphics/aeskulap/aeskulap.SlackBuild index aa2436ab27..c70a3fc5b9 100644 --- a/graphics/aeskulap/aeskulap.SlackBuild +++ b/graphics/aeskulap/aeskulap.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=aeskulap VERSION=0.2.2_beta1 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} SRCVER=$(printf $VERSION | tr _ -) @@ -72,7 +72,10 @@ find . \ -exec chmod 644 {} \; # Fix missing #include and libdir for 64 bit -patch -p1 < $CWD/${PRGNAM}-${VERSION}.patch || exit 1 +patch -p1 < $CWD/$PRGNAM-$SRCVER.patch || exit 1 + +# Fix for gcc-4.7.x +patch -p1 < $CWD/gcc47.patch CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -99,7 +102,7 @@ cp -a \ ABOUT-NLS COPYING COPYING.DCMTK COPYING.LIB ChangeLog INSTALL README \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -cat $CWD/${PRGNAM}-${VERSION}.patch > $PKG/usr/doc/$PRGNAM-$VERSION/${PRGNAM}-${VERSION}.patch +cat $CWD/$PRGNAM-$SRCVER.patch > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-$SRCVER.patch mv $PKG/usr/share/doc/* $PKG/usr/doc/$PRGNAM-$VERSION rmdir $PKG/usr/share/doc |