summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-06-09 19:17:24 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-06-09 19:17:24 +0000
commitcdaac1289c6442e821c87b435ce5a3c53ad3eec7 (patch)
tree759af4680e349634cac0e6427b9bac556044dc8c /dev-games/higan-ananke/files
parentinitial import wrt #254471 (diff)
downloadgentoo-2-cdaac1289c6442e821c87b435ce5a3c53ad3eec7.tar.gz
gentoo-2-cdaac1289c6442e821c87b435ce5a3c53ad3eec7.tar.bz2
gentoo-2-cdaac1289c6442e821c87b435ce5a3c53ad3eec7.zip
initial import
(Portage version: 2.2.0_alpha178/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'dev-games/higan-ananke/files')
-rw-r--r--dev-games/higan-ananke/files/higan-ananke-092-bps-path-fix.patch11
-rw-r--r--dev-games/higan-ananke/files/higan-ananke-092-makefile.patch20
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-games/higan-ananke/files/higan-ananke-092-bps-path-fix.patch b/dev-games/higan-ananke/files/higan-ananke-092-bps-path-fix.patch
new file mode 100644
index 000000000000..e951f645aa78
--- /dev/null
+++ b/dev-games/higan-ananke/files/higan-ananke-092-bps-path-fix.patch
@@ -0,0 +1,11 @@
+diff --git a/ananke/patch.cpp b/ananke/patch.cpp
+index a2dc1f9..6692800 100755
+--- a/ananke/patch.cpp
++++ b/ananke/patch.cpp
+@@ -1,5 +1,5 @@
+ void Ananke::applyBeatPatch(vector<uint8_t> &buffer) {
+- string name = {nall::basename(information.name), ".bps"};
++ string name = {information.path, nall::basename(information.name), ".bps"};
+ if(!file::exists(name)) return;
+
+ bpspatch patch;
diff --git a/dev-games/higan-ananke/files/higan-ananke-092-makefile.patch b/dev-games/higan-ananke/files/higan-ananke-092-makefile.patch
new file mode 100644
index 000000000000..2562ffec9ea4
--- /dev/null
+++ b/dev-games/higan-ananke/files/higan-ananke-092-makefile.patch
@@ -0,0 +1,20 @@
+--- higan_v092-source/ananke/Makefile
++++ higan_v092-source/ananke/Makefile
+@@ -2,7 +2,7 @@
+ include phoenix/Makefile
+
+ path := /usr/local/lib
+-flags := -I. -O3 -fomit-frame-pointer
++flags := -I. $(CXXFLAGS)
+ ifeq ($(arch),win32)
+ flags := -m32 $(flags)
+ endif
+@@ -10,7 +10,7 @@
+ all:
+ $(cpp) $(flags) -fPIC -o ananke.o -c ananke.cpp
+ ifeq ($(platform),x)
+- $(cpp) $(flags) -shared -Wl,-soname,libananke.so.1 -o libananke.so ananke.o
++ $(cpp) $(flags) $(LDFLAGS) -shared -Wl,-soname,libananke.so.1 -o libananke.so ananke.o
+ else ifeq ($(platform),win)
+ $(cpp) $(flags) -fPIC -o phoenix.o -c phoenix/phoenix.cpp $(phoenixflags)
+ $(cpp) $(flags) -shared -o phoenix.dll phoenix.o $(phoenixlink)