summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2009-02-12 20:38:59 +0000
committerAlfredo Tupone <tupone@gentoo.org>2009-02-12 20:38:59 +0000
commit142f6392803b8c695f6a392448b8e15385db00fc (patch)
treef3a34dba6ca15eeb859e54885fc72955cb3a38b0 /dev-games/vamos/files
parentRevision bump, see bug #258582. Changed maintainer. (diff)
downloadgentoo-2-142f6392803b8c695f6a392448b8e15385db00fc.tar.gz
gentoo-2-142f6392803b8c695f6a392448b8e15385db00fc.tar.bz2
gentoo-2-142f6392803b8c695f6a392448b8e15385db00fc.zip
Fix --as-needed bug #250072
(Portage version: 2.1.6.4/cvs/Linux 2.6.26-gentoo-r3 i686)
Diffstat (limited to 'dev-games/vamos/files')
-rw-r--r--dev-games/vamos/files/vamos-0.5.5-as-needed.patch32
-rw-r--r--dev-games/vamos/files/vamos-0.6.0-as-needed.patch22
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-games/vamos/files/vamos-0.5.5-as-needed.patch b/dev-games/vamos/files/vamos-0.5.5-as-needed.patch
new file mode 100644
index 000000000000..1218a980d5b2
--- /dev/null
+++ b/dev-games/vamos/files/vamos-0.5.5-as-needed.patch
@@ -0,0 +1,32 @@
+--- world/Makefile.in.old 2009-02-12 20:30:44.000000000 +0100
++++ world/Makefile.in 2009-02-12 20:31:31.000000000 +0100
+@@ -155,7 +155,7 @@
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+
+ libvamos_world_la_LDFLAGS =
+-libvamos_world_la_LIBADD =
++libvamos_world_la_LIBADD = `pkg-config --libs sigc++-1.2`
+ am_libvamos_world_la_OBJECTS = Atmosphere.lo World.lo Controls.lo \
+ Gl_World.lo Sounds.lo
+ libvamos_world_la_OBJECTS = $(am_libvamos_world_la_OBJECTS)
+--- caelum/Sky.cc.old 2009-02-12 20:35:43.000000000 +0100
++++ caelum/Sky.cc 2009-02-12 20:36:03.000000000 +0100
+@@ -19,6 +19,7 @@
+ #include "Sky.h"
+
+ #include <cassert>
++#include <cstdlib>
+
+ // Windows puts OpenGL 1.2 and 1.3 stuff in glext.h.
+ #if HAVE_GL_GLEXT_H
+--- media/Makefile.in.old 2009-02-12 20:37:50.000000000 +0100
++++ media/Makefile.in 2009-02-12 20:39:12.000000000 +0100
+@@ -150,7 +150,7 @@
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+
+ libvamos_media_la_LDFLAGS =
+-libvamos_media_la_LIBADD =
++libvamos_media_la_LIBADD = ../geometry/libvamos-geometry.la
+ am_libvamos_media_la_OBJECTS = Ac3d.lo Sample.lo Texture_Image.lo
+ libvamos_media_la_OBJECTS = $(am_libvamos_media_la_OBJECTS)
+
diff --git a/dev-games/vamos/files/vamos-0.6.0-as-needed.patch b/dev-games/vamos/files/vamos-0.6.0-as-needed.patch
new file mode 100644
index 000000000000..48159f99eb5e
--- /dev/null
+++ b/dev-games/vamos/files/vamos-0.6.0-as-needed.patch
@@ -0,0 +1,22 @@
+--- world/Makefile.in.old 2009-02-12 21:13:10.000000000 +0100
++++ world/Makefile.in 2009-02-12 21:13:26.000000000 +0100
+@@ -176,7 +176,7 @@
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+
+ libvamos_world_la_LDFLAGS =
+-libvamos_world_la_LIBADD =
++libvamos_world_la_LIBADD = `pkg-config --libs sigc++-1.2`
+ am_libvamos_world_la_OBJECTS = Atmosphere.lo World.lo Controls.lo \
+ Gl_World.lo Sounds.lo
+ libvamos_world_la_OBJECTS = $(am_libvamos_world_la_OBJECTS)
+--- media/Makefile.in.old 2009-02-12 21:13:35.000000000 +0100
++++ media/Makefile.in 2009-02-12 21:13:50.000000000 +0100
+@@ -174,7 +174,7 @@
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+
+ libvamos_media_la_LDFLAGS =
+-libvamos_media_la_LIBADD =
++libvamos_media_la_LIBADD = ../geometry/libvamos-geometry.la
+ am_libvamos_media_la_OBJECTS = Ac3d.lo Sample.lo Texture_Image.lo \
+ XML_Parser.lo
+ libvamos_media_la_OBJECTS = $(am_libvamos_media_la_OBJECTS)