lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

SDL: fix hashes

SDL migrated from hg.libsdl.org to github.com and transparently
redirects the patch urls, but the patch contents are not identical due
to the mercurial -> git migration.

+13 -12
+10 -10
pkgs/development/libraries/SDL/default.nix
··· 73 73 }) 74 74 # Fix drops of keyboard events for SDL_EnableUNICODE 75 75 (fetchpatch { 76 - url = "http://hg.libsdl.org/SDL/raw-rev/0aade9c0203f"; 77 - sha256 = "1y9izncjlqvk1mkz1pkl9lrk9s452cmg2izjjlqqrhbn8279xy50"; 76 + url = "https://github.com/libsdl-org/SDL-1.2/commit/0332e2bb18dc68d6892c3b653b2547afe323854b.patch"; 77 + sha256 = "0g458iv6pp9sikdch6ms8svz60lf5ks2q5wgid8s9rydhk98lpp5"; 78 78 }) 79 79 # Ignore insane joystick axis events 80 80 (fetchpatch { 81 - url = "http://hg.libsdl.org/SDL/raw-rev/95abff7adcc2"; 82 - sha256 = "0i8x0kx0pw12ld5bfxhyzs466y3c0n9dscw1ijhq1b96r72xyhqq"; 81 + url = "https://github.com/libsdl-org/SDL-1.2/commit/ab99cc82b0a898ad528d46fa128b649a220a94f4.patch"; 82 + sha256 = "1b3473sawfdbkkxaqf1hg0vn37yk8hf655jhnjwdk296z4gclazh"; 83 83 }) 84 84 # https://bugzilla.libsdl.org/show_bug.cgi?id=1769 85 85 (fetchpatch { 86 - url = "http://hg.libsdl.org/SDL/raw-rev/91ad7b43317a"; 87 - sha256 = "15g537vbl2my4mfrjxfkcx9ri6bk2gjvaqj650rjdxwk2nkdkn4b"; 86 + url = "https://github.com/libsdl-org/SDL-1.2/commit/5d79977ec7a6b58afa6e4817035aaaba186f7e9f.patch"; 87 + sha256 = "1k7y57b1zy5afib1g7w3in36n8cswbcrzdbrjpn5cb105rnb9vmp"; 88 88 }) 89 89 # Workaround X11 bug to allow changing gamma 90 90 # Ticket: https://bugs.freedesktop.org/show_bug.cgi?id=27222 ··· 96 96 # Fix a build failure on OS X Mavericks 97 97 # Ticket: https://bugzilla.libsdl.org/show_bug.cgi?id=2085 98 98 (fetchpatch { 99 - url = "http://hg.libsdl.org/SDL/raw-rev/e9466ead70e5"; 100 - sha256 = "0mpwdi09h89df2wxqw87m1rdz7pr46k0w6alk691k8kwv970z6pl"; 99 + url = "https://github.com/libsdl-org/SDL-1.2/commit/19039324be71738d8990e91b9ba341b2ea068445.patch"; 100 + sha256 = "0ckwling2ad27c9vxgp97ndjd098d6zbrydza8b9l77k8airj98c"; 101 101 }) 102 102 (fetchpatch { 103 - url = "http://hg.libsdl.org/SDL/raw-rev/bbfb41c13a87"; 104 - sha256 = "1336g7waaf1c8yhkz11xbs500h8bmvabh4h437ax8l1xdwcppfxv"; 103 + url = "https://github.com/libsdl-org/SDL-1.2/commit/7933032ad4d57c24f2230db29f67eb7d21bb5654.patch"; 104 + sha256 = "1by16firaxyr0hjvn35whsgcmq6bl0nwhnpjf75grjzsw9qvwyia"; 105 105 }) 106 106 ]; 107 107
+3 -2
pkgs/development/libraries/SDL_image/default.nix
··· 12 12 patches = [ 13 13 (fetchpatch { 14 14 name = "CVE-2017-2887"; 15 - url = "https://hg.libsdl.org/SDL_image/raw-diff/318484db0705/IMG_xcf.c"; 16 - sha256 = "140dyszz9hkpgwjdiwp1b7jdd8f8l5d862xdaf3ml4cimga1h5kv"; 15 + url = "https://github.com/libsdl-org/SDL_image/commit/e7723676825cd2b2ffef3316ec1879d7726618f2.patch"; 16 + includes = [ "IMG_xcf.c" ]; 17 + sha256 = "174ka2r95i29nlshzgp6x5vc68v7pi8lhzf33and2b1ms49g4jb7"; 17 18 }) 18 19 ]; 19 20