summaryrefslogtreecommitdiff
path: root/net-misc/wol/files/wol-0.7.1-linux-headers.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-29 16:01:29 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-29 16:01:29 +0100
commit9cd7e710ac676c1a318d09e665ca3558bb5c5323 (patch)
treee9be71b324835aa5fe0d86769dc47ba880e3313b /net-misc/wol/files/wol-0.7.1-linux-headers.patch
parent8ba401288d74259a5fd8e9de5241dd57a0a73b1f (diff)
gentoo auto-resync : 29:10:2022 - 16:01:29
Diffstat (limited to 'net-misc/wol/files/wol-0.7.1-linux-headers.patch')
-rw-r--r--net-misc/wol/files/wol-0.7.1-linux-headers.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-misc/wol/files/wol-0.7.1-linux-headers.patch b/net-misc/wol/files/wol-0.7.1-linux-headers.patch
new file mode 100644
index 000000000000..e381d2a31a6a
--- /dev/null
+++ b/net-misc/wol/files/wol-0.7.1-linux-headers.patch
@@ -0,0 +1,11 @@
+--- 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 */