summaryrefslogtreecommitdiff
path: root/package/gkrellm/patches/patch-server_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/gkrellm/patches/patch-server_Makefile')
-rw-r--r--package/gkrellm/patches/patch-server_Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/gkrellm/patches/patch-server_Makefile b/package/gkrellm/patches/patch-server_Makefile
new file mode 100644
index 0000000..9f070e2
--- /dev/null
+++ b/package/gkrellm/patches/patch-server_Makefile
@@ -0,0 +1,22 @@
+--- gkrellm-2.3.4.orig/server/Makefile 2008-10-03 23:52:48.000000000 +0200
++++ gkrellm-2.3.4/server/Makefile 2011-01-15 18:37:40.000000000 +0100
+@@ -26,7 +26,7 @@ SMANDIR ?= $(INSTALLROOT)/share/man/man1
+ MANMODE ?= 644
+ MANDIRMODE ?= 755
+ INSTALL ?= install
+-LINK_FLAGS ?= -Wl,-E
++LINK_FLAGS ?= -Wl,-E $(LDFLAGS)
+ EXTRAOBJS =
+
+ SHARED_PATH = ../shared
+@@ -109,8 +109,8 @@ endif
+
+ override CC += -Wall $(FLAGS)
+
+-OS_NAME=$(shell uname -s)
+-OS_RELEASE=$(shell uname -r)
++OS_NAME=Linux
++OS_RELEASE=2.6
+
+ OBJS = main.o monitor.o mail.o plugins.o glib.o utils.o sysdeps-unix.o log.o
+