ois: fix build with gcc>=4.7 via a Gentoo patch
This commit is contained in:
parent
1cddbc4bb4
commit
fa7dcd1931
@ -1,4 +1,4 @@
|
|||||||
x@{builderDefsPackage
|
x@{builderDefsPackage, fetchurl
|
||||||
, autoconf, automake, libtool, m4
|
, autoconf, automake, libtool, m4
|
||||||
, libX11, xproto, libXi, inputproto
|
, libX11, xproto, libXi, inputproto
|
||||||
, libXaw, libXmu, libXt
|
, libXaw, libXmu, libXt
|
||||||
@ -30,10 +30,17 @@ rec {
|
|||||||
inherit (sourceInfo) name version;
|
inherit (sourceInfo) name version;
|
||||||
inherit buildInputs;
|
inherit buildInputs;
|
||||||
|
|
||||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
phaseNames = ["doPatch" "doConfigure" "doMakeInstall"];
|
||||||
|
|
||||||
|
patches = [(fetchurl {
|
||||||
|
url = http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-games/ois/files/ois-1.3-gcc47.patch;
|
||||||
|
sha256 = "026jw06n42bcrmg0sbdhzc4cqxsnf7fw30a2z9cigd9x282zhii8";
|
||||||
|
name = "gcc47.patch";
|
||||||
|
})];
|
||||||
|
patchFlags = "-p0";
|
||||||
|
|
||||||
configureCommand = ''sh bootstrap; sh configure'';
|
configureCommand = ''sh bootstrap; sh configure'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Object-oriented C++ input system";
|
description = "Object-oriented C++ input system";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = with a.lib.maintainers;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user