summaryrefslogtreecommitdiff
path: root/pkg/acpid/patch/0001-Avoid-void-pointer-arithmetic.patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2023-07-02 18:14:59 -0700
committerMichael Forney <mforney@mforney.org>2023-07-08 11:38:45 -0700
commit95f5ebe0dd4eea0d1d90dea0b5afab1e22529ba6 (patch)
tree1dea5f596a2aa7cc04f1a72a065179d569f07ea9 /pkg/acpid/patch/0001-Avoid-void-pointer-arithmetic.patch
parent41a84914e3c779c56c5bfed272c8f4ae42e8fa02 (diff)
acpid: Update to 2.0.34
Diffstat (limited to 'pkg/acpid/patch/0001-Avoid-void-pointer-arithmetic.patch')
-rw-r--r--pkg/acpid/patch/0001-Avoid-void-pointer-arithmetic.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/acpid/patch/0001-Avoid-void-pointer-arithmetic.patch b/pkg/acpid/patch/0001-Avoid-void-pointer-arithmetic.patch
index 9f506cdf..3bbe61fa 100644
--- a/pkg/acpid/patch/0001-Avoid-void-pointer-arithmetic.patch
+++ b/pkg/acpid/patch/0001-Avoid-void-pointer-arithmetic.patch
@@ -1,4 +1,4 @@
-From a6a138ee8c131b4ce056a5db516496c91610cf2f Mon Sep 17 00:00:00 2001
+From 2ce67cdaf8af1ab4198ef28da002d5275d314c34 Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Sun, 16 Aug 2020 18:00:54 -0700
Subject: [PATCH] Avoid void pointer arithmetic
@@ -24,10 +24,10 @@ index ba218d7..08271cb 100644
/* places pointers into the message into tb[]. */
parse_rtattr(tb, CTRL_ATTR_MAX, attrs, len);
diff --git a/libnetlink.c b/libnetlink.c
-index 346162a..b1760ba 100644
+index 23ae7dd..24948bf 100644
--- a/libnetlink.c
+++ b/libnetlink.c
-@@ -516,7 +516,7 @@ int addraw_l(struct nlmsghdr *n, int maxlen, const void *data, int len)
+@@ -523,7 +523,7 @@ int addraw_l(struct nlmsghdr *n, int maxlen, const void *data, int len)
}
memcpy(NLMSG_TAIL(n), data, len);
@@ -50,5 +50,5 @@ index 8f9cb5e..7b2f8bc 100644
#ifndef IFA_RTA
#define IFA_RTA(r) \
--
-2.28.0
+2.37.3