hostapd: add patch to fix build with libressl

Fixes #17315.
This commit is contained in:
Franz Pletz 2016-07-29 11:36:37 +02:00
parent 7e8b3adb04
commit 2fa9bd5059

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, libnl, openssl, sqlite ? null }:
{ stdenv, fetchurl, fetchpatch, pkgconfig, libnl, openssl, sqlite ? null }:
with stdenv.lib;
stdenv.mkDerivation rec {
@ -10,6 +10,14 @@ stdenv.mkDerivation rec {
sha256 = "0jn77r39ysshkzihv5rjbdajqazci59v2yab4rn05my09najs9wf";
};
patches = [
(fetchpatch {
url = "https://raw.githubusercontent.com/voidlinux/void-packages/a7bcbc258ba9884bccde831c0ae2069cade99e41/srcpkgs/wpa_supplicant/patches/patch-src_crypto_tls_openssl_c";
sha256 = "1ifa2i54a7ijsha197dyldal3m4q5i05ih2sk15f5a5ybb6x7vmp";
addPrefixes = true;
})
];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libnl openssl sqlite ];