Skip to content

Commit

Permalink
hostapd: add patch to fix build with libressl
Browse files Browse the repository at this point in the history
Fixes #17315.
  • Loading branch information
fpletz committed Jul 29, 2016
1 parent 7e8b3ad commit 2fa9bd5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/os-specific/linux/hostapd/default.nix
@@ -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 {
Expand All @@ -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 ];

Expand Down

0 comments on commit 2fa9bd5

Please sign in to comment.