From e80845eff218aee98c7578e038f70f4f3c92553a Mon Sep 17 00:00:00 2001 From: Max Brazhnikov Date: Tue, 21 Jun 2011 16:30:22 +0000 Subject: [PATCH] Add upstream patch to fix build with !gcc Submitted by: Raphael Kubo da Costa via area51 --- x11/qimageblitz/files/patch-blitz-CMakeLists.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 x11/qimageblitz/files/patch-blitz-CMakeLists.txt diff --git a/x11/qimageblitz/files/patch-blitz-CMakeLists.txt b/x11/qimageblitz/files/patch-blitz-CMakeLists.txt new file mode 100644 index 000000000000..8864943edb16 --- /dev/null +++ b/x11/qimageblitz/files/patch-blitz-CMakeLists.txt @@ -0,0 +1,13 @@ +Index: blitz/CMakeLists.txt +=================================================================== +--- blitz/CMakeLists.txt (revision 1203425) ++++ blitz/CMakeLists.txt (revision 1203426) +@@ -33,7 +33,7 @@ + if(NOT APPLE AND NOT WIN32) + set( blitz_LIB_SRCS ${blitz_LIB_SRCS} asm_scale.S ) + add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/asm_scale.o +- COMMAND gcc -c ${CMAKE_CURRENT_SOURCE_DIR}/asm_scale.S ++ COMMAND ${CMAKE_C_COMPILER} -c ${CMAKE_CURRENT_SOURCE_DIR}/asm_scale.S + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/asm_scale.S ) + set( blitz_LIB_EXTRA_SRCS ${CMAKE_CURRENT_BINARY_DIR}/asm_scale.o ) + set(HAVE_EXTERNAL_ASM TRUE)