summarylogtreecommitdiffstats
path: root/package.patch
diff options
context:
space:
mode:
authorVaporeon2019-07-30 20:02:12 +1200
committerVaporeon2019-07-30 20:02:12 +1200
commit77eacd1644f8bf5009982bbe2d501dd2607e0ecb (patch)
treea15b03305f9e738a62536a22c76919776de892ef /package.patch
downloadaur-77eacd1644f8bf5009982bbe2d501dd2607e0ecb.tar.gz
Qt5 Build
Diffstat (limited to 'package.patch')
-rw-r--r--package.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/package.patch b/package.patch
new file mode 100644
index 000000000000..8512d3fd1f22
--- /dev/null
+++ b/package.patch
@@ -0,0 +1,29 @@
+diff --unified --recursive bsnes_v108-source.orig/bsnes/GNUmakefile bsnes_v108-source.new/bsnes/GNUmakefile
+--- bsnes_v108-source.orig/bsnes/GNUmakefile 2019-03-10 01:42:30.163599022 -0700
++++ bsnes_v108-source.new/bsnes/GNUmakefile 2019-03-10 01:45:20.179375447 -0700
+@@ -1,6 +1,9 @@
++flags = $(CFLAGS)
++options = $(LDFLAGS)
++
+ target := bsnes
+ binary := application
+-build := performance
++build := release
+ openmp := true
+ flags += -I. -I..
+
+
+diff --unified --recursive bsnes_v108-source.orig/bsnes/target-bsnes/GNUmakefile bsnes_v108-source.new/bsnes/target-bsnes/GNUmakefile
+--- bsnes_v108-source.orig/bsnes/target-bsnes/GNUmakefile 2019-03-10 01:51:07.601683406 -0700
++++ bsnes_v108-source.new/bsnes/target-bsnes/GNUmakefile 2019-03-10 01:52:00.013706440 -0700
+@@ -34,9 +34,7 @@
+ verbose: hiro.verbose ruby.verbose nall.verbose all;
+
+ install: all
+-ifeq ($(shell id -un),root)
+- $(error "make install should not be run as root")
+-else ifeq ($(platform),windows)
++ifeq ($(platform),windows)
+ else ifeq ($(platform),macos)
+ mkdir -p ~/Library/Application\ Support/$(name)/
+ cp -R out/$(name).app /Applications/$(name).app