* Fix building Dosbox with GCC 4.6.
svn path=/nixpkgs/branches/stdenv-updates/; revision=31796
This commit is contained in:
parent
1e886749b5
commit
f878980c8b
@ -7,6 +7,16 @@ stdenv.mkDerivation rec {
|
|||||||
url = "mirror://sourceforge/dosbox/${name}.tar.gz";
|
url = "mirror://sourceforge/dosbox/${name}.tar.gz";
|
||||||
sha256 = "01cfjc5bs08m4w79nbxyv7rnvzq2yckmgrbq36njn06lw8b4kxqk";
|
sha256 = "01cfjc5bs08m4w79nbxyv7rnvzq2yckmgrbq36njn06lw8b4kxqk";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches =
|
||||||
|
[ # Fix building with GCC 4.6.
|
||||||
|
(fetchurl {
|
||||||
|
url = "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/games-emulation/dosbox/files/dosbox-0.74-gcc46.patch?revision=1.1";
|
||||||
|
sha256 = "03iv1ph7fccfw327ngnhvzwyiix7fsbdb5mmpxivzkidhlrssxq9";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
patchFlags = "-p0";
|
||||||
|
|
||||||
buildInputs = [ SDL ];
|
buildInputs = [ SDL ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user