From 9652980b7dee52574789bf470a2c8048f838c953 Mon Sep 17 00:00:00 2001 From: Sam Bingner Date: Wed, 15 Aug 2018 11:56:56 -1000 Subject: Make top compile as non-root (we'll be packaging with fakeroot so this is ok) --- data/top/chown.diff | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 data/top/chown.diff (limited to 'data/top') diff --git a/data/top/chown.diff b/data/top/chown.diff new file mode 100644 index 000000000..e3b813fc9 --- /dev/null +++ b/data/top/chown.diff @@ -0,0 +1,9 @@ +diff -ur top-39/Makefile top-39+iPhone/Makefile +--- top-39/Makefile 2008-02-04 11:55:01.000000000 -1000 ++++ top-39+iPhone/Makefile 2018-08-14 18:28:17.000000000 -1000 +@@ -103,5 +103,3 @@ + + $(SYMROOT)/$(BIN) : $(patsubst %.c,$(OBJROOT)/%.o,$(BIN_SRCS)) $(SYMROOT)/$(LIB) + $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) +- chown root $@ +- chmod 4755 $@ -- cgit v1.2.3