mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
shadow: upgrade from 4.17.1 to 4.17.2
Upgrade shadow from 4.17.1 to 4.17.2. 0001-lib-attr.h-use-C23-attributes-only-with-gcc-10.patch is dropped because it has been merged. (From OE-Core rev: 6170d60175237dd4a0471d6f88cee2db4a37b7c4) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
-29
@@ -1,29 +0,0 @@
|
|||||||
From f2d8d96e8586772becd68593a5bd9e14632841af Mon Sep 17 00:00:00 2001
|
|
||||||
From: Alexander Kanavin <alex@linutronix.de>
|
|
||||||
Date: Tue, 7 Jan 2025 17:03:32 +0100
|
|
||||||
Subject: [PATCH] lib/attr.h: use C23 attributes only with gcc >= 10
|
|
||||||
|
|
||||||
These are not available on earlier versions and builds break there.
|
|
||||||
|
|
||||||
Upstream-Status: Submitted [https://github.com/shadow-maint/shadow/pull/1172]
|
|
||||||
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
|
|
||||||
---
|
|
||||||
lib/attr.h | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/lib/attr.h b/lib/attr.h
|
|
||||||
index 02c7e252..290514d8 100644
|
|
||||||
--- a/lib/attr.h
|
|
||||||
+++ b/lib/attr.h
|
|
||||||
@@ -5,7 +5,7 @@
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
|
|
||||||
-#if defined(__GNUC__)
|
|
||||||
+#if defined(__GNUC__) && (__GNUC__ >= 10)
|
|
||||||
# define MAYBE_UNUSED [[gnu::unused]]
|
|
||||||
# define NORETURN [[gnu::__noreturn__]]
|
|
||||||
# define format_attr(type, fmt, va) [[gnu::format(type, fmt, va)]]
|
|
||||||
--
|
|
||||||
2.45.2
|
|
||||||
|
|
||||||
+1
-2
@@ -14,7 +14,6 @@ GITHUB_BASE_URI = "https://github.com/shadow-maint/shadow/releases"
|
|||||||
SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BP}.tar.gz \
|
SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BP}.tar.gz \
|
||||||
${@bb.utils.contains('PACKAGECONFIG', 'pam', '${PAM_SRC_URI}', '', d)} \
|
${@bb.utils.contains('PACKAGECONFIG', 'pam', '${PAM_SRC_URI}', '', d)} \
|
||||||
file://useradd \
|
file://useradd \
|
||||||
file://0001-lib-attr.h-use-C23-attributes-only-with-gcc-10.patch \
|
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI:append:class-target = " \
|
SRC_URI:append:class-target = " \
|
||||||
@@ -25,7 +24,7 @@ SRC_URI:append:class-target = " \
|
|||||||
SRC_URI:append:class-native = " \
|
SRC_URI:append:class-native = " \
|
||||||
file://commonio.c-fix-unexpected-open-failure-in-chroot-env.patch \
|
file://commonio.c-fix-unexpected-open-failure-in-chroot-env.patch \
|
||||||
"
|
"
|
||||||
SRC_URI[sha256sum] = "51a946bbce141c5de14b6d47cab167206cd685d2307e917611dbc1be46c84a18"
|
SRC_URI[sha256sum] = "064a7c048e613ef5b5f3613e137d79d35d062ab434e89020f743e90844ec5c4f"
|
||||||
UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)+)$"
|
UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)+)$"
|
||||||
|
|
||||||
# Additional Policy files for PAM
|
# Additional Policy files for PAM
|
||||||
Reference in New Issue
Block a user