summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2010-11-24 01:12:07 +0000
committerChristian Faulhammer <fauli@gentoo.org>2010-11-24 01:12:07 +0000
commit62e9556d38a13989349c9214a3bba7511e742dc0 (patch)
tree1dfbec5116884103b0b1aef1cc1bcde1cba8d25a /dev-lang/erlang/files
parentOld version cleanup (diff)
downloadgentoo-2-62e9556d38a13989349c9214a3bba7511e742dc0.tar.gz
gentoo-2-62e9556d38a13989349c9214a3bba7511e742dc0.tar.bz2
gentoo-2-62e9556d38a13989349c9214a3bba7511e742dc0.zip
Fix runtime issues with --as-needed and wxWidgets interface as reported by Andrian Nord <NightNord AT gmail DOT com> in bug 338664. With help by dirtyepic.
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'dev-lang/erlang/files')
-rw-r--r--dev-lang/erlang/files/erlang-14.2-respect_LDFLAGS-wx.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-lang/erlang/files/erlang-14.2-respect_LDFLAGS-wx.patch b/dev-lang/erlang/files/erlang-14.2-respect_LDFLAGS-wx.patch
new file mode 100644
index 000000000000..51ba2e69d830
--- /dev/null
+++ b/dev-lang/erlang/files/erlang-14.2-respect_LDFLAGS-wx.patch
@@ -0,0 +1,16 @@
+--- lib/wx/c_src/Makefile.in.orig 2010-09-13 19:00:22.000000000 +0200
++++ lib/wx/c_src/Makefile.in 2010-11-24 01:44:12.196000002 +0100
+@@ -99,11 +99,11 @@
+ ifeq ($(TYPE),debug)
+ CFLAGS = @DEBUG_WX_CFLAGS@ @DEBUG_CFLAGS@
+ CPP_FLAGS = @DEBUG_WX_CXXFLAGS@ @DEBUG_CXXFLAGS@
+-LIBS = $(DEBUG_WX_LIBS)
++LIBS = $(DEBUG_WX_LIBS) -lGLU
+ else
+ CFLAGS = @WX_CFLAGS@ @CFLAGS@
+ CPP_FLAGS = @WX_CXXFLAGS@ @CXXFLAGS@
+-LIBS = $(WX_LIBS)
++LIBS = $(WX_LIBS) -lGLU
+ endif
+
+ CC_O = $(CC) -c $(CFLAGS) $(COMMON_CFLAGS)