core/drumstick/linker-gold.patch

27 lines
681 B
Diff

Description: Fix FTBFS with GNU's gold ld.
From: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=615742
---
utils/vpiano/CMakeLists.txt | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--- libdrumstick.orig/utils/vpiano/CMakeLists.txt
+++ libdrumstick/utils/vpiano/CMakeLists.txt
@@ -7,6 +7,8 @@ SET(vpiano_forms_SRCS
QT4_WRAP_UI(vpiano_ui_SRCS ${vpiano_forms_SRCS})
+FIND_PACKAGE(X11)
+
SET(vpiano_SRCS
pianokey.cpp
pianokey.h
@@ -52,7 +54,7 @@ ADD_EXECUTABLE(drumstick-vpiano
TARGET_LINK_LIBRARIES(drumstick-vpiano
${QT_LIBRARIES}
${ALSA_LIBS}
- ${QT_X11_X11_LIBRARY}
+ ${X11_X11_LIB}
drumstick-common
drumstick-alsa
)