diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-01-30 14:43:03 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-01-30 21:27:48 +0100 |
commit | 552dae8bcbf9e7baa8a6cb8d9f24ac4510720f6f (patch) | |
tree | 88eb602fc6b2e72ecee0888e06db489a752ae405 /patches | |
parent | 80e308b5ed0c7c2def6753fb7fbeb7dfda30a921 (diff) | |
download | ptxdist-552dae8bcbf9e7baa8a6cb8d9f24ac4510720f6f.tar.gz ptxdist-552dae8bcbf9e7baa8a6cb8d9f24ac4510720f6f.tar.xz |
udev: regenerate patches
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches')
-rw-r--r-- | patches/udev-182/0003-Fix-build-with-recent-glibc-releases.patch | 23 | ||||
-rw-r--r-- | patches/udev-182/0003-include-sysmacros-for-new-glibc.patch | 17 | ||||
-rw-r--r-- | patches/udev-182/series | 4 |
3 files changed, 25 insertions, 19 deletions
diff --git a/patches/udev-182/0003-Fix-build-with-recent-glibc-releases.patch b/patches/udev-182/0003-Fix-build-with-recent-glibc-releases.patch new file mode 100644 index 000000000..a1f720522 --- /dev/null +++ b/patches/udev-182/0003-Fix-build-with-recent-glibc-releases.patch @@ -0,0 +1,23 @@ +From: =?UTF-8?q?Guillermo=20Rodr=C3=ADguez?= <guille.rodriguez@gmail.com> +Date: Thu, 30 Jan 2020 14:40:43 +0100 +Subject: [PATCH] Fix build with recent glibc releases + +<sys/sysmacros.h> is no longer included as part of <sys/types.h> there. + +Ref.: https://wiki.gentoo.org/wiki/Glibc_2.26_porting_notes/sysmacros.h +--- + src/libudev.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/libudev.h b/src/libudev.h +index 10e098d4f7ca..40a658c1ecec 100644 +--- a/src/libudev.h ++++ b/src/libudev.h +@@ -14,6 +14,7 @@ + + #include <stdarg.h> + #include <sys/types.h> ++#include <sys/sysmacros.h> + #include <sys/stat.h> + + #ifdef __cplusplus diff --git a/patches/udev-182/0003-include-sysmacros-for-new-glibc.patch b/patches/udev-182/0003-include-sysmacros-for-new-glibc.patch deleted file mode 100644 index b2f8db670..000000000 --- a/patches/udev-182/0003-include-sysmacros-for-new-glibc.patch +++ /dev/null @@ -1,17 +0,0 @@ -Fix build with recent glibc releases where <sys/sysmacros.h> is no -longer included as part of <sys/types.h>. - -Ref.: https://wiki.gentoo.org/wiki/Glibc_2.26_porting_notes/sysmacros.h - -Index: udev-182/src/libudev.h -=================================================================== ---- udev-182.orig/src/libudev.h 2019-12-10 19:33:16.205447059 +0100 -+++ udev-182/src/libudev.h 2019-12-10 19:33:27.965446957 +0100 -@@ -14,6 +14,7 @@ - - #include <stdarg.h> - #include <sys/types.h> -+#include <sys/sysmacros.h> - #include <sys/stat.h> - - #ifdef __cplusplus diff --git a/patches/udev-182/series b/patches/udev-182/series index fe0693eb5..92ee4017b 100644 --- a/patches/udev-182/series +++ b/patches/udev-182/series @@ -2,5 +2,5 @@ #tag:base --start-number 1 0001-configure.ac-fix-FTBFS-with-new-glibc.patch 0002-mtd-probe-fix-compilation.patch -# 78be5e697ec01d52a38071705c42d96a - git-ptx-patches magic -0003-include-sysmacros-for-new-glibc.patch +0003-Fix-build-with-recent-glibc-releases.patch +# 1ac211f09adebb5f2f0678a4eda965d9 - git-ptx-patches magic |