kodi: fix build with giflib 6 (#540031)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
fetchzip,
|
||||
autoconf,
|
||||
automake,
|
||||
@@ -254,6 +255,18 @@ stdenv.mkDerivation (
|
||||
hash = "sha256-36wBAqGEDCRZ4t1ygTg03Pyk7Gg9quUTUGD3SBp6nCk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# TexturePacker has some conditionals on GIFLIB 5, which break with
|
||||
# GIFLIB 6. This has been extended to support all versions >= 5 upstream,
|
||||
# but has not yet made it into a release.
|
||||
# https://github.com/xbmc/xbmc/pull/28016
|
||||
(fetchpatch {
|
||||
name = "texturepacker-giflib-6.patch";
|
||||
url = "https://github.com/xbmc/xbmc/commit/29492cbd20d4c90a9c00a30ab525d4d0e81a968b.patch";
|
||||
hash = "sha256-WNaODPCtRfn30jVU5HbBnAO2Vl/MQp2CYmKOTTyDGZI=";
|
||||
})
|
||||
];
|
||||
|
||||
# make derivations declared in the let binding available here, so
|
||||
# they can be overridden
|
||||
inherit
|
||||
|
||||
Reference in New Issue
Block a user