From 23bff8f3e088a88cd9fda3e6e0a643c2b7c39da3 Mon Sep 17 00:00:00 2001 From: Tom Hall Date: Tue, 9 May 2023 23:29:40 +0100 Subject: [PATCH] mapbox-gl-native: fix build Pull request submitted upstream: https://github.com/mapbox/mapbox-gl-native/pull/16666 --- pkgs/development/libraries/mapbox-gl-native/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/mapbox-gl-native/default.nix b/pkgs/development/libraries/mapbox-gl-native/default.nix index 7b6bf1ddef0e3..f9212ea7cba9e 100644 --- a/pkgs/development/libraries/mapbox-gl-native/default.nix +++ b/pkgs/development/libraries/mapbox-gl-native/default.nix @@ -35,6 +35,11 @@ mkDerivation rec { url = "https://aur.archlinux.org/cgit/aur.git/plain/fix-compilation.patch?h=mapbox-gl-native"; hash = "sha256-KgJHyoIdKdnQo+gedns3C+mEXlaTH/UtyQsaYR1T3iI="; }) + (fetchpatch { + name = "fix-narrowing-conversion.patch"; + url = "https://github.com/mapbox/mapbox-gl-native/commit/2955d0e479f57a39a0af4a0fa7ca7683455cca58.patch"; + hash = "sha256-Jk7OLb9/mVtc2mm0AL1h9zcSiQ54jogNI+q6ojY0HEo="; + }) ]; postPatch = ''