Description: 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). Author: Camm Maguire Bug-Debian: https://bugs.debian.org/777866 --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: https://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- gcl-2.6.12.orig/o/prelink.c +++ gcl-2.6.12/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) {