From c3ae0b29591523de6da75104d72fe4bbdb367acb Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Mon, 21 Nov 2022 22:49:13 -0800 Subject: app-arch/dpkg: add 1.20.12 fix printf conftest missing include Bug: https://bugs.gentoo.org/869884 Signed-off-by: Georgy Yakovlev --- app-arch/dpkg/files/dpkg-1.20.12-m4-stdio.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 app-arch/dpkg/files/dpkg-1.20.12-m4-stdio.patch (limited to 'app-arch/dpkg/files') diff --git a/app-arch/dpkg/files/dpkg-1.20.12-m4-stdio.patch b/app-arch/dpkg/files/dpkg-1.20.12-m4-stdio.patch new file mode 100644 index 000000000000..5124c54b43ed --- /dev/null +++ b/app-arch/dpkg/files/dpkg-1.20.12-m4-stdio.patch @@ -0,0 +1,25 @@ +From 9a1c670b66818fc0044eaa9a95a13da553bebcd3 Mon Sep 17 00:00:00 2001 +From: Georgy Yakovlev +Date: Mon, 21 Nov 2022 23:09:59 -0800 +Subject: [PATCH] m4/dpkg-funcs.m4: include stdio.h in __progname conftest + +Bug: https://bugs.gentoo.org/869884 +--- + m4/dpkg-funcs.m4 | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/m4/dpkg-funcs.m4 b/m4/dpkg-funcs.m4 +index 74acf22..0720ac3 100644 +--- a/m4/dpkg-funcs.m4 ++++ b/m4/dpkg-funcs.m4 +@@ -142,6 +142,7 @@ AC_DEFUN([DPKG_CHECK_PROGNAME], [ + AC_MSG_CHECKING([for __progname]) + AC_LINK_IFELSE([ + AC_LANG_PROGRAM( ++ [[#include ]], + [[extern char *__progname;]], + [[printf("%s", __progname);]]) + ], [ +-- +2.38.1 + -- cgit v1.2.3-65-gdbad