summaryrefslogtreecommitdiff
path: root/data/top
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-08-15 11:56:56 -1000
committerSam Bingner <sam@bingner.com>2018-08-15 11:56:56 -1000
commit9652980b7dee52574789bf470a2c8048f838c953 (patch)
tree51205e49e413a8f93090fc8a5b75965a62964df7 /data/top
parente50637097d57e1852b0c26c212910b94f32a99a8 (diff)
Make top compile as non-root (we'll be packaging with fakeroot so this is ok)
Diffstat (limited to 'data/top')
-rw-r--r--data/top/chown.diff9
1 files changed, 9 insertions, 0 deletions
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 $@