summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2022-11-21 22:49:13 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2022-11-21 23:18:56 -0800
commitc3ae0b29591523de6da75104d72fe4bbdb367acb (patch)
tree49b6f4454ae8b4f0ccab7b69cc53a7c2eac5b5b7 /app-arch/dpkg/files
parentnet-wireless/gr-osmosdr: Add github remote-id (diff)
downloadgentoo-c3ae0b29591523de6da75104d72fe4bbdb367acb.tar.gz
gentoo-c3ae0b29591523de6da75104d72fe4bbdb367acb.tar.bz2
gentoo-c3ae0b29591523de6da75104d72fe4bbdb367acb.zip
app-arch/dpkg: add 1.20.12
fix printf conftest missing include Bug: https://bugs.gentoo.org/869884 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'app-arch/dpkg/files')
-rw-r--r--app-arch/dpkg/files/dpkg-1.20.12-m4-stdio.patch25
1 files changed, 25 insertions, 0 deletions
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 <gyakovlev@gentoo.org>
+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 <stdio.h>]],
+ [[extern char *__progname;]],
+ [[printf("%s", __progname);]])
+ ], [
+--
+2.38.1
+