slackbuilds_ponce/libraries/ftgl/patches/gcc47.patch
ponce 1479ce55c3 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>
2012-08-21 08:55:29 -05:00

12 lines
460 B
Diff

diff -Naur ftgl-2.1.3~rc5.orig/test/Makefile.am ftgl-2.1.3~rc5/test/Makefile.am
--- ftgl-2.1.3~rc5.orig/test/Makefile.am 2008-06-02 03:10:10.000000000 +0200
+++ ftgl-2.1.3~rc5/test/Makefile.am 2012-04-01 06:59:36.523040292 +0200
@@ -52,7 +52,7 @@
CXXTest_CXXFLAGS = $(FT2_CFLAGS) $(GL_CFLAGS)
CXXTest_LDFLAGS = $(FT2_LIBS) $(GLUT_LIBS) -lcppunit
-CXXTest_LDADD = ../src/libftgl.la
+CXXTest_LDADD = ../src/libftgl.la -lm
CTest_SOURCES = \
CTest.c \