mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] udev-legacy: fix building with gcc 15
@ 2026-04-14  8:57 Andreas Helmcke
  2026-04-15 10:22 ` Michael Olbrich
  2026-04-15 13:52 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 2 replies; 4+ messages in thread
From: Andreas Helmcke @ 2026-04-14  8:57 UTC (permalink / raw)
  To: ptxdist

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-04-15 13:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-14  8:57 [ptxdist] [PATCH] udev-legacy: fix building with gcc 15 Andreas Helmcke
2026-04-15 10:22 ` Michael Olbrich
2026-04-15 11:58   ` Guillermo Rodriguez Garcia
2026-04-15 13:52 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox