Skip to content

Commit

Permalink
wine-1.8: fix #24446 breakage after gnutls update
Browse files Browse the repository at this point in the history
... via a patch from Debian.
  • Loading branch information
vcunat committed Mar 29, 2017
1 parent 9363db4 commit 060bd50
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pkgs/misc/emulators/wine/base.nix
@@ -1,4 +1,4 @@
{ stdenv, lib, pkgArches,
{ stdenv, lib, pkgArches, fetchurl,
name, version, src, monos, geckos, platforms,
pkgconfig, fontforge, makeWrapper, flex, bison,
supportFlags,
Expand All @@ -15,6 +15,15 @@ stdenv.mkDerivation ((lib.optionalAttrs (! isNull buildScript) {
}) // rec {
inherit name src configureFlags;

patches = if lib.versionOlder "1.9.0" version then null else [
(fetchurl {
name = "new-gnutls.patch";
url = "http://anonscm.debian.org/git/pkg-wine/wine.git/plain/debian/patches/"
+ "gnutls.patch?id=758122e8a";
sha256 = "1ifpdvdwps1qkzrhnaaaznpj8aww8qpzikhjh04h6rgp2ls0p24j";
})
];

nativeBuildInputs = [
pkgconfig fontforge makeWrapper flex bison
];
Expand Down

0 comments on commit 060bd50

Please sign in to comment.