From 1479ce55c3aca60733a9a810c6401997fc4d621e Mon Sep 17 00:00:00 2001 From: ponce Date: Sun, 1 Apr 2012 16:11:59 +0200 Subject: libraries/ftgl: Patched tor build with gcc-4.7.x Also added another to avoid autoreconf breaking compilation Signed-off-by: Robby Workman --- libraries/ftgl/ftgl.SlackBuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'libraries/ftgl/ftgl.SlackBuild') 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 -- cgit v1.2.3