wpa_supplicant: make this work with build_wrksrc.
This commit is contained in:
parent
47b649181d
commit
b2cc13697b
2 changed files with 6 additions and 6 deletions
|
@ -15,8 +15,8 @@ Signed-off-by: Dan Williams <dcbw@redhat.com>
|
|||
|
||||
diff --git a/wpa_supplicant/dbus/dbus_new.c b/wpa_supplicant/dbus/dbus_new.c
|
||||
index bdfbbac..c66640a 100644
|
||||
--- dbus/dbus_new.c
|
||||
+++ dbus/dbus_new.c
|
||||
--- wpa_supplicant/dbus/dbus_new.c
|
||||
+++ wpa_supplicant/dbus/dbus_new.c
|
||||
@@ -691,6 +691,10 @@ void wpas_dbus_signal_prop_changed(struct wpa_supplicant *wpa_s,
|
||||
wpas_dbus_getter_current_network;
|
||||
prop = "CurrentNetwork";
|
||||
|
@ -46,8 +46,8 @@ index bdfbbac..c66640a 100644
|
|||
|
||||
diff --git a/wpa_supplicant/dbus/dbus_new.h b/wpa_supplicant/dbus/dbus_new.h
|
||||
index 80ea98c..9cdefcb 100644
|
||||
--- dbus/dbus_new.h
|
||||
+++ dbus/dbus_new.h
|
||||
--- wpa_supplicant/dbus/dbus_new.h
|
||||
+++ wpa_supplicant/dbus/dbus_new.h
|
||||
@@ -30,6 +30,7 @@ enum wpas_dbus_prop {
|
||||
WPAS_DBUS_PROP_STATE,
|
||||
WPAS_DBUS_PROP_CURRENT_BSS,
|
||||
|
|
|
@ -29,8 +29,8 @@ Add_dependency build dbus-devel
|
|||
Add_dependency build readline-devel
|
||||
|
||||
do_build() {
|
||||
sed -i 's|/usr/local|$(PREFIX)|g' ${wrksrc}/Makefile
|
||||
cp -f ${FILESDIR}/config ${wrksrc}/.config
|
||||
sed -i 's|/usr/local|$(PREFIX)|g' Makefile
|
||||
cp -f ${FILESDIR}/config .config
|
||||
make ${makejobs}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue