summaryrefslogtreecommitdiff
path: root/x11-misc/trayer/files/trayer-1.0-as-needed-and-pre-stripped.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/trayer/files/trayer-1.0-as-needed-and-pre-stripped.patch')
-rw-r--r--x11-misc/trayer/files/trayer-1.0-as-needed-and-pre-stripped.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/x11-misc/trayer/files/trayer-1.0-as-needed-and-pre-stripped.patch b/x11-misc/trayer/files/trayer-1.0-as-needed-and-pre-stripped.patch
new file mode 100644
index 000000000000..9db338424220
--- /dev/null
+++ b/x11-misc/trayer/files/trayer-1.0-as-needed-and-pre-stripped.patch
@@ -0,0 +1,29 @@
+From 6d0c1123441633660c2ec4f336e1e800b4dfebb5 Mon Sep 17 00:00:00 2001
+From: Harri Nieminen <moikkis@gmail.com>
+Date: Sat, 25 Mar 2017 12:18:13 +0200
+Subject: [PATCH 2/2] Fix for as-needed and pre-stripped files
+
+Gentoo bugs: #141707, #252098
+---
+ Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 9d7c4fb..faaa85d 100644
+--- a/Makefile
++++ b/Makefile
+@@ -36,9 +36,9 @@ endif
+
+ TARGET = trayer
+ $(TARGET): $(OBJ) $(SYSTRAYOBJ)
+- $(CC) $(LDFLAGS) $(LIBS) $(OBJ) $(SYSTRAYOBJ) -o $@
++ $(CC) $(LDFLAGS) $(OBJ) $(SYSTRAYOBJ) $(LIBS) -o $@
+ ifeq (,$(DEVEL))
+- strip $@
++ true $@
+ endif
+
+ TARGETMAN = $(TARGET).1.gz
+--
+2.12.1
+