From: Andreas Helmcke <ahelmcke@ela-soft.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] udev-legacy: fix building with gcc 15
Date: Tue, 14 Apr 2026 10:57:02 +0200 [thread overview]
Message-ID: <20260414085702.11853-1-ahelmcke@ela-soft.com> (raw)
Added missing function declaration for udev_builtin_validate
Signed-off-by: Andreas Helmcke <ahelmcke@ela-soft.com>
---
...recent-gcc-added-missing-function-de.patch | 21 +++++++++++++++++++
patches/udev-182/series | 3 ++-
2 files changed, 23 insertions(+), 1 deletion(-)
create mode 100644 patches/udev-182/0004-Fix-build-witch-recent-gcc-added-missing-function-de.patch
diff --git a/patches/udev-182/0004-Fix-build-witch-recent-gcc-added-missing-function-de.patch b/patches/udev-182/0004-Fix-build-witch-recent-gcc-added-missing-function-de.patch
new file mode 100644
index 000000000..59f1653dc
--- /dev/null
+++ b/patches/udev-182/0004-Fix-build-witch-recent-gcc-added-missing-function-de.patch
@@ -0,0 +1,21 @@
+From: Andreas Helmcke <ahelmcke@ela-soft.com>
+Date: Mon, 13 Apr 2026 13:34:09 +0200
+Subject: [PATCH] Fix build witch recent gcc, added missing function
+ declaration
+
+---
+ src/udev.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/udev.h b/src/udev.h
+index bc051c9b6574..ecf8cc5fe367 100644
+--- a/src/udev.h
++++ b/src/udev.h
+@@ -164,6 +164,7 @@ const char *udev_builtin_name(enum udev_builtin_cmd cmd);
+ bool udev_builtin_run_once(enum udev_builtin_cmd cmd);
+ int udev_builtin_run(struct udev_device *dev, enum udev_builtin_cmd cmd, const char *command, bool test);
+ void udev_builtin_list(struct udev *udev);
++bool udev_builtin_validate(struct udev *udev);
+ int udev_builtin_add_property(struct udev_device *dev, bool test, const char *key, const char *val);
+
+ /* udev logging */
diff --git a/patches/udev-182/series b/patches/udev-182/series
index 92ee4017b..ce4dbf817 100644
--- a/patches/udev-182/series
+++ b/patches/udev-182/series
@@ -3,4 +3,5 @@
0001-configure.ac-fix-FTBFS-with-new-glibc.patch
0002-mtd-probe-fix-compilation.patch
0003-Fix-build-with-recent-glibc-releases.patch
-# 1ac211f09adebb5f2f0678a4eda965d9 - git-ptx-patches magic
+0004-Fix-build-witch-recent-gcc-added-missing-function-de.patch
+# b21bf1430bf2663ce271b3b972fbf2e5 - git-ptx-patches magic
--
2.51.0
next reply other threads:[~2026-04-14 9:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-14 8:57 Andreas Helmcke [this message]
2026-04-15 10:22 ` Michael Olbrich
2026-04-15 11:58 ` Guillermo Rodriguez Garcia
2026-04-15 13:52 ` [ptxdist] [APPLIED] " Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260414085702.11853-1-ahelmcke@ela-soft.com \
--to=ahelmcke@ela-soft.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox