From 423d21dcfee183cc4b04d29c1621615e8c30f834 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 4 Jan 2018 18:55:01 +0000 Subject: gentoo resync : 04.01.2018 --- .../files/gkrelltop-2.2.13-fix-build-system.patch | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 x11-plugins/gkrelltop/files/gkrelltop-2.2.13-fix-build-system.patch (limited to 'x11-plugins/gkrelltop/files') diff --git a/x11-plugins/gkrelltop/files/gkrelltop-2.2.13-fix-build-system.patch b/x11-plugins/gkrelltop/files/gkrelltop-2.2.13-fix-build-system.patch new file mode 100644 index 000000000000..9eaa9cc3d4e8 --- /dev/null +++ b/x11-plugins/gkrelltop/files/gkrelltop-2.2.13-fix-build-system.patch @@ -0,0 +1,41 @@ +--- a/Makefile ++++ b/Makefile +@@ -45,11 +45,10 @@ + # Parameters for gkrellm version 2.* + CFLAGS2 = -g -D$(OSFLAG) -DGKRELLM2 -fPIC -Wall `pkg-config gtk+-2.0 --cflags` + LIBS = +-CC=/usr/bin/gcc $(CFLAGS2) ++CC += $(CFLAGS) $(CFLAGS2) + + else + # Parameters for gkrellm version 1.* +-CC=/usr/bin/cc + CFLAGS = -D$(OSFLAG) -Wall -fPIC `gtk-config --cflags` `imlib-config --cflags-gdk` + LIBS= + +@@ -78,7 +77,7 @@ + ifeq ($(INSTALLDIRD),) + INSTALLDIRD=$(HOME)/.gkrellm2/plugins-gkrellmd + endif +-CCD=/usr/bin/gcc $(CFLAGSD) ++CCD = $(CC) $(CFLAGS) $(CFLAGSD) + OBJD = gkrelltopd.o top_three.o + + DUMMY_VAR := $(shell ./configure $(CONFIGURE_ARGS)) +@@ -100,14 +99,14 @@ + warn: ; $(WARN) + + $(GKRELLTOP): $(OBJ) warn +- $(CC) -shared $(OBJ) -o $(GKRELLTOP) ++ $(CC) $(LDFLAGS) -shared $(OBJ) -o $(GKRELLTOP) + + # Compile gkrelltopd.so server plugin + server: $(GKRELLTOPD) warn + @echo "" + + $(GKRELLTOPD): $(OBJD) +- $(CCD) $(LIBSD) -shared $(OBJD) -o $(GKRELLTOPD) ++ $(CCD) $(LIBSD) $(LDFLAGS) -shared $(OBJD) -o $(GKRELLTOPD) + + gkrelltop.o: gkrelltop.c + $(CC) -c gkrelltop.c -o gkrelltop.o -- cgit v1.2.3