diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-02-05 12:27:45 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-02-05 12:27:45 -0500 |
commit | 6f865f9e82240661b408a208943cb4688c59b3cb (patch) | |
tree | c5e5b9d832efa01ee9b7dd68364ad4bc8c77f461 /pcr/elogind/elogind-219.12-glibc.patch | |
parent | c8e5162dfe65e09cf8dd1472ac25d19ef60b1051 (diff) | |
download | abslibre-6f865f9e82240661b408a208943cb4688c59b3cb.tar.gz abslibre-6f865f9e82240661b408a208943cb4688c59b3cb.tar.bz2 abslibre-6f865f9e82240661b408a208943cb4688c59b3cb.zip |
elogind-219.12-2: rebuild
Diffstat (limited to 'pcr/elogind/elogind-219.12-glibc.patch')
-rw-r--r-- | pcr/elogind/elogind-219.12-glibc.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pcr/elogind/elogind-219.12-glibc.patch b/pcr/elogind/elogind-219.12-glibc.patch new file mode 100644 index 000000000..05477c3e3 --- /dev/null +++ b/pcr/elogind/elogind-219.12-glibc.patch @@ -0,0 +1,44 @@ +commit 27d13af71c3af6b2f9b60556d2c046dbb6e36e23 +Author: Mike Frysinger <vapier@gentoo.org> +Date: Mon Mar 14 17:44:49 2016 -0400 + + include sys/sysmacros.h in more places + + Since glibc is moving away from implicitly including sys/sysmacros.h + all the time via sys/types.h, include the header directly in more + places. This seems to cover most makedev/major/minor usage. + +diff --git a/src/shared/macro.h b/src/shared/macro.h +index c34441d..b36a956 100644 +--- a/src/shared/macro.h ++++ b/src/shared/macro.h +@@ -23,6 +23,7 @@ + #include <inttypes.h> + #include <stdbool.h> + #include <sys/param.h> ++#include <sys/sysmacros.h> + #include <sys/types.h> + + #define _printf_(a,b) __attribute__ ((format (printf, a, b))) +diff --git a/src/shared/util.h b/src/shared/util.h +--- a/src/shared/util.h ++++ b/src/shared/util.h +@@ -36,6 +36,7 @@ + #include <sys/types.h> + #include <sys/socket.h> + #include <sys/stat.h> ++#include <sys/sysmacros.h> + #include <dirent.h> + #include <stddef.h> + #include <unistd.h> +diff --git a/src/systemd/sd-device.h b/src/systemd/sd-device.h +--- a/src/systemd/sd-device.h ++++ b/src/systemd/sd-device.h +@@ -22,6 +22,7 @@ + ***/ + ++#include <sys/sysmacros.h> + #include <sys/types.h> + #include <stdint.h> + + #include "_sd-common.h" |