tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
ois: fix build with gcc>=4.7 via a Gentoo patch
Vladimír Čunát
12 years ago
fa7dcd19
1cddbc4b
+10
-3
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
ois
default.nix
+10
-3
pkgs/development/libraries/ois/default.nix
···
1
1
-
x@{builderDefsPackage
1
1
+
x@{builderDefsPackage, fetchurl
2
2
, autoconf, automake, libtool, m4
3
3
, libX11, xproto, libXi, inputproto
4
4
, libXaw, libXmu, libXt
···
30
30
inherit (sourceInfo) name version;
31
31
inherit buildInputs;
32
32
33
33
-
phaseNames = ["doConfigure" "doMakeInstall"];
33
33
+
phaseNames = ["doPatch" "doConfigure" "doMakeInstall"];
34
34
+
35
35
+
patches = [(fetchurl {
36
36
+
url = http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-games/ois/files/ois-1.3-gcc47.patch;
37
37
+
sha256 = "026jw06n42bcrmg0sbdhzc4cqxsnf7fw30a2z9cigd9x282zhii8";
38
38
+
name = "gcc47.patch";
39
39
+
})];
40
40
+
patchFlags = "-p0";
34
41
35
42
configureCommand = ''sh bootstrap; sh configure'';
36
36
-
43
43
+
37
44
meta = {
38
45
description = "Object-oriented C++ input system";
39
46
maintainers = with a.lib.maintainers;