summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2011-06-22 12:59:19 +0000
committerAlfredo Tupone <tupone@gentoo.org>2011-06-22 12:59:19 +0000
commit477a5a2960b8b9100e29c0c23b90510f9e3b3ece (patch)
tree5629b2b6ff6d8732fd5e478e142f5276b920b283 /games-action/supertuxkart/files
parentaalib and sdl require X, bug #366815 (diff)
downloadgentoo-2-477a5a2960b8b9100e29c0c23b90510f9e3b3ece.tar.gz
gentoo-2-477a5a2960b8b9100e29c0c23b90510f9e3b3ece.tar.bz2
gentoo-2-477a5a2960b8b9100e29c0c23b90510f9e3b3ece.zip
Fix underlink. Bug #371823
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'games-action/supertuxkart/files')
-rw-r--r--games-action/supertuxkart/files/supertuxkart-0.7-underlink.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/games-action/supertuxkart/files/supertuxkart-0.7-underlink.patch b/games-action/supertuxkart/files/supertuxkart-0.7-underlink.patch
new file mode 100644
index 000000000000..046299ca8531
--- /dev/null
+++ b/games-action/supertuxkart/files/supertuxkart-0.7-underlink.patch
@@ -0,0 +1,21 @@
+--- configure.ac.old 2011-06-22 12:41:19.140037770 +0200
++++ configure.ac 2011-06-22 12:43:46.939252073 +0200
+@@ -245,7 +245,7 @@
+ # ---- Check these flags do work by building a small irrLicht sample
+ echo "checking for irrlicht libraries..."
+ save_LIBS=$LIBS
+-LIBS="$LIBS $irrlicht_LIBS $opengl_LIBS"
++LIBS="$LIBS $irrlicht_LIBS $opengl_LIBS -lm -lz -lX11"
+
+ irrlicht_sample_built_fine="false"
+
+--- src/Makefile.am.old 2011-06-22 14:15:09.992552914 +0200
++++ src/Makefile.am 2011-06-22 14:16:38.820196346 +0200
+@@ -396,5 +396,6 @@
+ supertuxkart_LDADD = \
+ $(irrlicht_LIBS) $(fribidi_LIBS) $(bullet_LIBS) $(enet_LIBS) \
+ $(opengl_LIBS) $(openal_LIBS) $(oggvorbis_LIBS) \
+- $(INTLLIBS) $(LIBCURL_LIBS) $(LIBCURL_CFLAGS)
++ $(INTLLIBS) $(LIBCURL_LIBS) $(LIBCURL_CFLAGS) \
++ -lm -lX11 -lz
+