Files
wol/wol-0.7.1-linux-headers.patch
Илья Индиго ffb21a6d42 support gcc14, using patches from gentoo
maybe the wol-use-port-9.patch from home:frispete:Tumbleweed/wol should also be added?

OBS-URL: https://build.opensuse.org/package/show/network:utilities/wol?expand=0&rev=16
2024-07-08 07:48:19 +00:00

12 lines
303 B
Diff

--- a/src/magic.c
+++ b/src/magic.c
@@ -142,7 +142,7 @@ magic_assemble (struct magic *magic_buf, const char *mac_str,
}
for (j = 0; j < MAC_LEN; ++j)
- m[j] = ea.ETHER_ADDR_OCTET[j];
+ m[j] = ea.ether_addr_octet[j];
}
/* accommodate the packet chunk's size to the packet type */