From e6e864ccf7fb3fa42ab4853721100df613c8d5c1 Mon Sep 17 00:00:00 2001 From: Camm Maguire Date: Sun, 13 Nov 2022 12:55:14 +0000 Subject: [PATCH] Bug-Debian: https://bugs.debian.org/777866 TODO: Put a short summary on the line above and replace this paragraph with a longer explanation of this change. Complete the meta-information with other relevant fields (see below for details). To make it easier, the information below has been extracted from the changelog. Adjust it or drop it. gcl (2.6.12-9) unstable; urgency=medium * Version_2_6_13pre8a * Bug fix: "ftbfs with GCC-5", thanks to Matthias Klose (Closes: #777866). Gbp-Pq: Name Version_2_6_13pre8b --- o/prelink.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/o/prelink.c b/o/prelink.c index 609f72b..b6fcb47 100644 --- a/o/prelink.c +++ b/o/prelink.c @@ -2,6 +2,12 @@ #include "include.h" +extern FILE *stdin __attribute__((weak)); +extern FILE *stderr __attribute__((weak)); +extern FILE *stdout __attribute__((weak)); +extern rl_compentry_func_t *rl_completion_entry_function __attribute__((weak)); +extern const char *rl_readline_name __attribute__((weak)); + void prelink_init(void) { -- 2.30.2