git.iko.soy/typeable/nixpkgs
on master help sign in
higan: 104 -> 105
commitef198c93a86ffbf8f91103125b7ecc73fe2c6fcb authorAndersonTorres <torres.anderson.85@gmail.com> dateTue 17 Oct 2017, 06:02 (9 years ago) parente935fbf
2 files changed+21−23
pkgs/misc/emulators/higan/0001-change-flags.diff+19−16 pkgs/misc/emulators/higan/default.nix+2−7
pkgs/misc/emulators/higan/0001-change-flags.diff+19−16
@@ -1,23 +1,26 @@
1−diff -rupN higan_v097-source.old/higan/GNUmakefile higan_v097-source/higan/GNUmakefile
2−--- higan_v097-source.old/higan/GNUmakefile 2016-01-24 09:21:45.822940200 +0100
3−+++ higan_v097-source/higan/GNUmakefile 2016-01-24 09:24:03.028722500 +0100
4−@@ -36,7 +36,7 @@ ifeq ($(platform),windows)
5− else ifeq ($(platform),macosx)
6− flags += -march=native
7− else ifneq ($(filter $(platform),linux bsd),)
8−- flags += -march=native -fopenmp
9−+ flags += -fopenmp
1+diff -Naur higan_v105-source.old/higan/GNUmakefile higan_v105-source.new/higan/GNUmakefile
2+--- higan_v105-source.old/higan/GNUmakefile 2017-10-07 01:34:22.000000000 -0300
3++++ higan_v105-source.new/higan/GNUmakefile 2017-10-17 00:02:40.580957396 -0200
4+@@ -26,7 +26,7 @@
5+ flags += -fopenmp
106 link += -fopenmp
11− link += -Wl,-export-dynamic
12− link += -lX11 -lXext
13−diff -rupN higan_v097-source.old/nall/GNUmakefile higan_v097-source/nall/GNUmakefile
14−--- higan_v097-source.old/nall/GNUmakefile 2016-01-24 09:21:46.021749600 +0100
15−+++ higan_v097-source/nall/GNUmakefile 2016-01-24 09:25:06.347100800 +0100
16−@@ -40,8 +40,8 @@ cflags := -x c -std=c99
17− objcflags := -x objective-c -std=c99
7+ ifeq ($(binary),application)
8+- flags += -march=native
9++ flags +=
10+ link += -Wl,-export-dynamic
11+ link += -lX11 -lXext
12+ else ifeq ($(binary),library)
13+diff -Naur higan_v105-source.old/nall/GNUmakefile higan_v105-source.new/nall/GNUmakefile
14+--- higan_v105-source.old/nall/GNUmakefile 2017-09-23 18:34:22.000000000 -0300
15++++ higan_v105-source.new/nall/GNUmakefile 2017-10-17 00:03:33.568916550 -0200
16+@@ -40,8 +40,8 @@
17+ objcflags := -x objective-c -std=c11
1818 cppflags := -x c++ -std=c++14
1919 objcppflags := -x objective-c++ -std=c++14
2020-flags :=
2121-link :=
2222+flags := $(CXXFLAGS)
2323+link := $(LDFLAGS)
24+
25+ # compiler detection
26+ ifeq ($(compiler),)
pkgs/misc/emulators/higan/default.nix+2−7
@@ -10,12 +10,12 @@ with stdenv.lib;
1010stdenv.mkDerivation rec {
1111
1212 name = "higan-${version}";
13− version = "104";
13+ version = "105";
1414 sourceName = "higan_v${version}-source";
1515
1616 src = fetchurl {
1717 urls = [ "http://download.byuu.org/${sourceName}.7z" ];
18− sha256 = "0i2ma8zjjxadq4368n4m41vhmrb62na6s7pi219ajdsb96x0091l";
18+ sha256 = "1lpj345vlnwcywhzq1fzxwl08zc2x4d103rgyyp7yw8m0f8f9sdl";
1919 curlOpts = "--user-agent 'Mozilla/5.0'"; # the good old user-agent trick...
2020 };
2121
@@ -81,8 +81,3 @@ stdenv.mkDerivation rec {
8181 platforms = with platforms; unix;
8282 };
8383}
84−
85−#
86−# TODO:
87−# - fix the BML and BIOS paths - maybe submitting
88−# a custom patch to upstream would not be a bad idea...