diff options
author | ponce <matteo.bernardini@gmail.com> | 2012-04-01 16:11:59 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-08-21 08:55:29 -0500 |
commit | 1479ce55c3aca60733a9a810c6401997fc4d621e (patch) | |
tree | 59d7aa2ecc5489ac2aa3ad2329f6da37b42d7ed6 /libraries/ftgl/ftgl.SlackBuild | |
parent | db9974ef0c9ecadf27a24cc0c8361a9456a68ca3 (diff) | |
download | slackbuilds-1479ce55c3aca60733a9a810c6401997fc4d621e.tar.gz |
libraries/ftgl: Patched tor build with gcc-4.7.x
Also added another to avoid autoreconf breaking compilation
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/ftgl/ftgl.SlackBuild')
-rw-r--r-- | libraries/ftgl/ftgl.SlackBuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libraries/ftgl/ftgl.SlackBuild b/libraries/ftgl/ftgl.SlackBuild index e37e2a05fa..b658441bb3 100644 --- a/libraries/ftgl/ftgl.SlackBuild +++ b/libraries/ftgl/ftgl.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=ftgl VERSION=${VERSION:-2.1.3_rc5} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -68,6 +68,12 @@ cd $PRGNAM-$(echo $VERSION | tr _ \~) chown -R root:root . chmod -R a-s,u+rw,go+r-w . +# Fix building with gcc-4.7.x +patch -p1 < $CWD/patches/gcc47.patch +# Fix spam that breaks build after autoreconfing +patch -p1 < $CWD/patches/spam.patch +autoreconf -i + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -78,7 +84,6 @@ CXXFLAGS="$SLKCFLAGS" \ make GLUT_LIBS="-lglut -lGLU -lGL -lm" make install-strip DESTDIR=$PKG - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION |