wpa_supplicant: Making a remote patch local.
upstream is down
This commit is contained in:
parent
5f677039c7
commit
e48bbe4c39
@ -38,13 +38,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
patches =
|
patches = [ ./libnl.patch ];
|
||||||
[ (fetchurl {
|
|
||||||
url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/hostap_allow-linking-with-libnl-3.2.patch?h=packages/wpa_supplicant";
|
|
||||||
name = "hostap_allow-linking-with-libnl-3.2.patch";
|
|
||||||
sha256 = "0iwvjq0apc6mv1r03k5pnyjgda3q47yx36c4lqvv8i8q1vn7kbf2";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/share/man/man5 $out/share/man/man8
|
mkdir -p $out/share/man/man5 $out/share/man/man8
|
||||||
|
13
pkgs/os-specific/linux/wpa_supplicant/libnl.patch
Normal file
13
pkgs/os-specific/linux/wpa_supplicant/libnl.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff -up wpa_supplicant-1.0-rc2/src/drivers/drivers.mak.foo wpa_supplicant-1.0-rc2/src/drivers/drivers.mak
|
||||||
|
--- wpa_supplicant-1.0-rc2/src/drivers/drivers.mak.foo 2012-03-02 16:11:43.176448714 -0600
|
||||||
|
+++ wpa_supplicant-1.0-rc2/src/drivers/drivers.mak 2012-03-02 16:12:29.759866341 -0600
|
||||||
|
@@ -48,7 +48,7 @@ NEED_RFKILL=y
|
||||||
|
ifdef CONFIG_LIBNL32
|
||||||
|
DRV_LIBS += -lnl-3
|
||||||
|
DRV_LIBS += -lnl-genl-3
|
||||||
|
- DRV_CFLAGS += -DCONFIG_LIBNL20
|
||||||
|
+ DRV_CFLAGS += -DCONFIG_LIBNL20 `pkg-config --cflags libnl-3.0`
|
||||||
|
else
|
||||||
|
ifdef CONFIG_LIBNL_TINY
|
||||||
|
DRV_LIBS += -lnl-tiny
|
||||||
|
|
Loading…
Reference in New Issue
Block a user