From ede7a1534422556cfa9f0766a0f8015251991ec5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 26 Aug 2022 23:21:45 +0700 Subject: [PATCH] yeahwm: fix patch's whitespace --- srcpkgs/yeahwm/patches/fix-makefile.patch | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/srcpkgs/yeahwm/patches/fix-makefile.patch b/srcpkgs/yeahwm/patches/fix-makefile.patch index adabccaaa14..6beb352281a 100644 --- a/srcpkgs/yeahwm/patches/fix-makefile.patch +++ b/srcpkgs/yeahwm/patches/fix-makefile.patch @@ -2,8 +2,8 @@ Enable configurable CC and XROOT. Add missing $(LIBS) to link and remove strip. Add yeahwm.1 to install target. ---- a/Makefile 2004-11-21 19:11:04.000000000 +0100 -+++ b/Makefile 2015-10-25 23:20:45.306617941 +0100 +--- yeahwm-0.3.5.orig/Makefile ++++ yeahwm-0.3.5/Makefile @@ -1,11 +1,11 @@ # If you don't use CC -CC = gcc @@ -18,16 +18,17 @@ Add yeahwm.1 to install target. INCLUDES = -I$(XROOT)/include LDPATH = -L$(XROOT)/lib LIBS = -lX11 -@@ -55,7 +55,6 @@ +@@ -55,8 +55,7 @@ OBJS = $(SRCS:.c=.o) all: yeahwm yeahwm: $(OBJS) - $(CC) $(CFLAGS) $(OBJS) -o $@ $(LDFLAGS) +- strip yeahwm + $(CC) $(CFLAGS) $(OBJS) -o $@ $(LDFLAGS) $(LIBS) -- strip yeahwm allinone: -@@ -71,7 +71,7 @@ + cat yeahwm.h $(SRCS) | sed 's/^#include.*yeahwm.*$$//' > allinone.c +@@ -71,7 +70,7 @@ doinstall: if [ -f yeahwm.exe ]; then mv yeahwm.exe yeahwm; fi mkdir -p $(prefix)/bin $(prefix)/share/man/man1 install -s yeahwm $(prefix)/bin