git.iko.soy/typeable/nixpkgs
on master help sign in
ogrepaged: patch to make it build with ogre-1.10
commit56ec6ee97e671fd02057ea7a9d4174fb96cac58e authorBas van Dijk <v.dijk.bas@gmail.com> dateSun 31 Dec 2017, 12:26 (9 years ago) parenta1c21ef
1 file changed+18−1
pkgs/development/libraries/ogrepaged/default.nix+18−1
pkgs/development/libraries/ogrepaged/default.nix+18−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, pkgconfig, ois, ogre, libX11, boost }:
1+{ stdenv, fetchurl, fetchpatch, cmake, pkgconfig, ois, ogre, libX11, boost }:
22
33stdenv.mkDerivation rec {
44 name = "ogre-paged-${version}";
@@ -9,6 +9,23 @@ stdenv.mkDerivation rec {
99 sha256 = "17j7rw9wbkynxbhm2lay3qgjnnagb2vd5jn9iijnn2lf8qzbgy82";
1010 };
1111
12+ patches = [
13+ # These patches come from https://github.com/RigsOfRods/ogre-pagedgeometry/pull/6
14+ # and make ogre-paged build with ogre-1.10.
15+ (fetchpatch {
16+ url = "https://github.com/RigsOfRods/ogre-pagedgeometry/commit/2d4df577decba37ec3cdafc965deae0f6d31fe45.patch";
17+ sha256 = "0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73";
18+ })
19+ (fetchpatch {
20+ url = "https://github.com/RigsOfRods/ogre-pagedgeometry/commit/4d81789ec6f55e294a5ad040ea7abe2b415cbc92.patch";
21+ sha256 = "17q8djdz2y3g46azxc3idhyvi6vf0sqkxld4bbyp3l9zn7dq76rp";
22+ })
23+ (fetchpatch {
24+ url = "https://github.com/RigsOfRods/ogre-pagedgeometry/commit/10f7c5ce5b422e9cbac59d466f3567a24c8831a4.patch";
25+ sha256 = "1kk0dbadzg73ai99l3w04q51sil36vzbkaqc79mdwy0vjrn4ardb";
26+ })
27+ ];
28+
1229 buildInputs = [ ois ogre libX11 boost ];
1330 nativeBuildInputs = [ cmake pkgconfig ];
1431