From 2bd83362807bebfd4e3c9808332fbc6a55f8ee00 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Sun, 27 Dec 2009 18:51:23 +0000 Subject: Fix compiling with --as-needed thanks to Kacper Kowalik (bug #298144). (Portage version: 2.2_rc61/cvs/Linux i686) --- x11-wm/musca/ChangeLog | 6 +++++- x11-wm/musca/files/musca-0.9.24-make.patch | 9 ++++----- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'x11-wm/musca') diff --git a/x11-wm/musca/ChangeLog b/x11-wm/musca/ChangeLog index c8f317fd7454..d9ab25c6a22d 100644 --- a/x11-wm/musca/ChangeLog +++ b/x11-wm/musca/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-wm/musca # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/musca/ChangeLog,v 1.10 2009/11/30 23:46:21 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/musca/ChangeLog,v 1.11 2009/12/27 18:51:23 jer Exp $ + + 27 Dec 2009; Jeroen Roovers + files/musca-0.9.24-make.patch: + Fix compiling with --as-needed thanks to Kacper Kowalik (bug #298144). 30 Nov 2009; Jeroen Roovers musca-0.9.24.ebuild: Whitespace. diff --git a/x11-wm/musca/files/musca-0.9.24-make.patch b/x11-wm/musca/files/musca-0.9.24-make.patch index 371c804b758c..fdffa48e1075 100644 --- a/x11-wm/musca/files/musca-0.9.24-make.patch +++ b/x11-wm/musca/files/musca-0.9.24-make.patch @@ -1,11 +1,10 @@ ---- musca-0.9.24/Makefile.orig 2009-11-03 03:20:21.000000000 +0100 -+++ musca-0.9.24/Makefile 2009-11-30 21:39:04.000000000 +0100 -@@ -1,9 +1,15 @@ +--- musca-0.9.24.orig/Makefile 2009-11-03 03:20:21.000000000 +0100 ++++ musca-0.9.24/Makefile 2009-12-27 19:12:02.461539607 +0100 +@@ -1,9 +1,12 @@ -CFLAGS?=-Wall -g +CFLAGS ?= -Wall -g +INCLUDES = $(shell pkg-config --cflags x11) +LIBS = $(shell pkg-config --libs x11) -lm -+COMPILE = $(CC) $(CFLAGS) $(INCLUDES) $(LIBS) $(LDFLAGS) +BIN_DIST = musca apis xlisten -all: @@ -15,7 +14,7 @@ +all: $(BIN_DIST) + +$(BIN_DIST): -+ $(COMPILE) -o $@ $@.c ++ $(CC) $(CFLAGS) $(INCLUDES) $@.c -o $@ $(LDFLAGS) $(LIBS) clean: - rm -f musca apis -- cgit v1.2.3-65-gdbad