summarylogtreecommitdiffstats
path: root/allow_root.patch
diff options
context:
space:
mode:
authorSalvador PardiƱas2017-06-04 08:20:03 -0300
committerSalvador PardiƱas2017-06-04 08:20:03 -0300
commit1d73d7be58861fe115cff82d9aa5e48c42225874 (patch)
treeafe9489224d4756166ec9a738c756fd7dd549a05 /allow_root.patch
downloadaur-1d73d7be58861fe115cff82d9aa5e48c42225874.tar.gz
Initial Commit
Diffstat (limited to 'allow_root.patch')
-rw-r--r--allow_root.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/allow_root.patch b/allow_root.patch
new file mode 100644
index 000000000000..03c133761d7f
--- /dev/null
+++ b/allow_root.patch
@@ -0,0 +1,16 @@
+diff -ura higan/higan/target-tomoko/GNUmakefile higan_new/higan/target-tomoko/GNUmakefile
+--- higan/higan/target-tomoko/GNUmakefile 2017-06-03 19:31:12.084743578 -0300
++++ higan_new/higan/target-tomoko/GNUmakefile 2017-06-03 19:29:25.234742810 -0300
+@@ -78,9 +78,9 @@
+ endif
+
+ install:
+-ifeq ($(shell id -un),root)
+- $(error "make install should not be run as root")
+-else ifeq ($(platform),windows)
++#ifeq ($(shell id -un),root)
++# $(error "make install should not be run as root")
++ifeq ($(platform),windows)
+ else ifeq ($(platform),macosx)
+ mkdir -p ~/Library/Application\ Support/$(name)/
+ mkdir -p ~/Emulation/System/