From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- .../files/gkrellm-trayicons-1.03-ldflags.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 x11-plugins/gkrellm-trayicons/files/gkrellm-trayicons-1.03-ldflags.patch (limited to 'x11-plugins/gkrellm-trayicons/files') diff --git a/x11-plugins/gkrellm-trayicons/files/gkrellm-trayicons-1.03-ldflags.patch b/x11-plugins/gkrellm-trayicons/files/gkrellm-trayicons-1.03-ldflags.patch new file mode 100644 index 000000000000..92764a9b32af --- /dev/null +++ b/x11-plugins/gkrellm-trayicons/files/gkrellm-trayicons-1.03-ldflags.patch @@ -0,0 +1,25 @@ +--- a/Makefile 2003-11-26 00:27:29.000000000 +0100 ++++ b/Makefile_new 2013-03-15 21:36:05.331857288 +0100 +@@ -6,19 +6,18 @@ + GKRELLM_INCLUDE = -I$(PREFIX)/include + GTK_CFLAGS = `$(GTK_CONFIG) --cflags` + GTK_LIB = `$(GTK_CONFIG) --libs` +-FLAGS = -Wall -fPIC $(GTK_CFLAGS) $(GKRELLM_INCLUDE) +-CFLAGS ?= -O -g ++FLAGS = -fPIC $(GTK_CFLAGS) $(GKRELLM_INCLUDE) + CFLAGS += $(FLAGS) + CFLAGS += -DVERSION=\"$(VERSION)\" + LIBS = $(GTK_LIB) + LFLAGS = -shared +-CC ?= gcc ++CC = $(CC) + INSTALL = install -c + INSTALL_PROGRAM = $(INSTALL) -s + OBJS = trayicons.o + + trayicons.so: $(OBJS) +- $(CC) $(FLAGS) $(OBJS) -o trayicons.so $(LIBS) $(LFLAGS) ++ $(CC) $(FLAGS) $(LDFLAGS) $(OBJS) -o trayicons.so $(LIBS) $(LFLAGS) + + clean: + rm -f *.o core *.so* *.bak *~ -- cgit v1.2.3