diff -Nru blender-2.77.a+dfsg0/debian/changelog blender-2.77.a+dfsg0/debian/changelog --- blender-2.77.a+dfsg0/debian/changelog 2016-08-11 11:36:27.000000000 +0000 +++ blender-2.77.a+dfsg0/debian/changelog 2016-09-27 20:18:08.000000000 +0000 @@ -1,3 +1,10 @@ +blender (2.77.a+dfsg0-9) unstable; urgency=medium + + * debian/patches/: patchset updated + - 0011-fix_ld-gold_issue.patch added (Closes: #838373) + + -- Matteo F. Vescovi Tue, 27 Sep 2016 22:18:08 +0200 + blender (2.77.a+dfsg0-8) unstable; urgency=medium * debian/control: b-dep opencollada-dev limited to [linux-any] diff -Nru blender-2.77.a+dfsg0/debian/patches/0011-fix_ld-gold_issue.patch blender-2.77.a+dfsg0/debian/patches/0011-fix_ld-gold_issue.patch --- blender-2.77.a+dfsg0/debian/patches/0011-fix_ld-gold_issue.patch 1970-01-01 00:00:00.000000000 +0000 +++ blender-2.77.a+dfsg0/debian/patches/0011-fix_ld-gold_issue.patch 2016-09-27 20:10:01.000000000 +0000 @@ -0,0 +1,31 @@ +From: "Matteo F. Vescovi" +Date: Tue, 27 Sep 2016 22:08:42 +0200 +Subject: fix_ld-gold_issue + +--- + CMakeLists.txt | 12 ------------ + 1 file changed, 12 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index d285df9..fd9f657 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1192,18 +1192,6 @@ if(UNIX AND NOT APPLE) + if(CMAKE_COMPILER_IS_GNUCC) + set(PLATFORM_CFLAGS "-pipe -fPIC -funsigned-char -fno-strict-aliasing") + +- # use ld.gold linker if available, could make optional +- execute_process( +- COMMAND ${CMAKE_C_COMPILER} -fuse-ld=gold -Wl,--version +- ERROR_QUIET OUTPUT_VARIABLE LD_VERSION) +- if("${LD_VERSION}" MATCHES "GNU gold") +- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fuse-ld=gold") +- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fuse-ld=gold") +- else() +- message(STATUS "GNU gold linker isn't available, using the default system linker.") +- endif() +- unset(LD_VERSION) +- + # CLang is the same as GCC for now. + elseif(CMAKE_C_COMPILER_ID MATCHES "Clang") + set(PLATFORM_CFLAGS "-pipe -fPIC -funsigned-char -fno-strict-aliasing") diff -Nru blender-2.77.a+dfsg0/debian/patches/series blender-2.77.a+dfsg0/debian/patches/series --- blender-2.77.a+dfsg0/debian/patches/series 2016-07-25 14:58:36.000000000 +0000 +++ blender-2.77.a+dfsg0/debian/patches/series 2016-09-27 20:10:01.000000000 +0000 @@ -8,3 +8,4 @@ 0008-make_blender_reproducible.patch 0009-fix_OpenJPEG2_build.patch 0010-fix_manpage_creation.patch +0011-fix_ld-gold_issue.patch