You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-misc/geoclue/files/geoclue-0.12.0_p20110307-us...

17 lines
511 B

Force geoclue to use the "fallback" mac address fetching code.
The NM-based code does not seem to work.
Patch by Kevin McCarthy <signals@gentoo.org>
--- src/connectivity.c
+++ src/connectivity.c
@@ -218,7 +218,7 @@
geoclue_connectivity_get_router_mac (GeoclueConnectivity *self)
{
if (self == NULL ||
- GEOCLUE_CONNECTIVITY_GET_INTERFACE (self)->get_router_mac == NULL) {
+ GEOCLUE_CONNECTIVITY_GET_INTERFACE (self)->get_router_mac == NULL || 1) {
char *mac = NULL;
guint i;
int ret_val;