glm: fix aarch64-darwin build by fixing cmake warnings
This commit is contained in:
parent
ebbca75dc2
commit
67c9d4ae00
1 changed files with 14 additions and 1 deletions
|
@ -1,4 +1,9 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, cmake
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.9.9.8";
|
||||
|
@ -11,6 +16,14 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "sha256-F//+3L5Ozrw6s7t4LrcUmO7sN30ZSESdrPAYX57zgr8=";
|
||||
};
|
||||
|
||||
# https://github.com/g-truc/glm/pull/1055
|
||||
# Fix more implicit-int-float-conversion warnings
|
||||
# (https://github.com/g-truc/glm/pull/986 wasn't enough, and -Werror is used)
|
||||
patches = [(fetchpatch {
|
||||
url = "https://github.com/kraj/glm/commit/bd9b5060bc3b9581090d44f15b4e236566ea86a6.patch";
|
||||
sha256 = "sha256-QO4o/wV564kJimBcEyr9TWzREEnRJ1n0j0HPojN4pkI=";
|
||||
})];
|
||||
|
||||
outputs = [ "out" "doc" ];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
|
Loading…
Reference in a new issue