[patch] fix the FTBFS with binutils-gold
Sandro Tosi <[email protected]>
| Newsgroups | gmane.comp.gnome.apps.gkrellm |
|---|---|
| Message-ID | <[email protected]> |
Hello, while fixing the Debian bug http://bugs.debian.org/554553 I made the attached patch that fix a FTBFS when using gold as linker (by simply adding -lX11). It would be nice if it can be merged upstream. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi
07_bts554553_FTBFS_binutil-gold.patch
(text/x-diff, 758 B)
Author: Sandro Tosi <[email protected]> Description: Fix the FTBFS with binutils-gold by adding -lX11 Index: gkrellm/src/Makefile =================================================================== --- gkrellm.orig/src/Makefile 2010-01-01 17:33:15.640367193 +0100 +++ gkrellm/src/Makefile 2010-01-01 17:34:11.850867934 +0100 @@ -22,6 +22,8 @@ LINK_FLAGS ?= -Wl,-E SMC_LIBS ?= -L/usr/X11R6/lib -lSM -lICE +X11_LIBS ?= -lX11 + SHARED_PATH = ../shared # Make GNU Make search for sources somewhere else as well VPATH = $(SHARED_PATH) @@ -89,7 +91,7 @@ ${NTLM_INCLUDES} -DGKRELLM_CLIENT LIBS = $(PKG_LIB) $(GTOP_LIBS) $(SMC_LIBS) $(SYS_LIBS) $(SSL_LIBS) $(SENSORS_LIBS) \ - $(NTLM_LIBS) + $(NTLM_LIBS) $(X11_LIBS) ifeq ($(debug),1) FLAGS += -g