Re: [Secure-testing-team] CVE-2007-1253: blender: eval injection vulnerability in kmz_ImportWithMesh.py
On Wed, Apr 04, 2007, Luk Claes wrote:
> Apparantly blender FTBFS on these archs, so finding out why it fails (and
> maybe fixing it) might help.
It fails because it incorrectly tries to link with libstdc++, which
should never be done directly. Patch attached.
diff -puriN blender-2.42a.orig/debian/misc/user-config.py blender-2.42a/debian/misc/user-config.py
--- blender-2.42a.orig/debian/misc/user-config.py 2007-04-05 02:03:20 +0200
+++ blender-2.42a/debian/misc/user-config.py 2007-04-05 02:05:44 +0200
@@ -136,7 +136,8 @@ CC_WARN = '-Wall'
##FIX_STUBS_WARNINGS = -Wno-unused
-LLIBS = 'util c m dl pthread stdc++'
+LINK = CXX
+LLIBS = 'util c m dl pthread'
##LOPTS = --dynamic
##DYNLDFLAGS = -shared $(LDFLAGS)