diff -Nru bird2-2.0.7/debian/changelog bird2-2.0.7/debian/changelog --- bird2-2.0.7/debian/changelog 2020-05-11 08:29:24.000000000 +0000 +++ bird2-2.0.7/debian/changelog 2021-01-02 17:12:44.000000000 +0000 @@ -1,3 +1,10 @@ +bird2 (2.0.7-4.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix collect2: error: ld returned 1 exit status (Closes: #966906) + + -- Benjamin Drung Sat, 02 Jan 2021 18:12:44 +0100 + bird2 (2.0.7-4) unstable; urgency=medium * Sync the linuxdoc mangled files with linuxdoc-tools_0.9.73-2 diff -Nru bird2-2.0.7/debian/patches/0002-Added-missing-extern.patch bird2-2.0.7/debian/patches/0002-Added-missing-extern.patch --- bird2-2.0.7/debian/patches/0002-Added-missing-extern.patch 1970-01-01 00:00:00.000000000 +0000 +++ bird2-2.0.7/debian/patches/0002-Added-missing-extern.patch 2021-01-02 17:12:14.000000000 +0000 @@ -0,0 +1,33 @@ +From 4bbc10614f3431c37e6352f5a6ea5c693c31021e Mon Sep 17 00:00:00 2001 +From: Maria Matejka +Date: Tue, 4 Feb 2020 10:11:16 +0100 +Subject: Added missing extern +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Thanks to Robert Scheck who reported it +and Toke Høiland-Jørgensen who suggested this patch. + +Bug-Debian: https://bugs.debian.org/966906 +Origin: https://gitlab.nic.cz/labs/bird/-/commit/4bbc1061 +--- + nest/route.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/nest/route.h b/nest/route.h +index d2a07f09..b927db5f 100644 +--- a/nest/route.h ++++ b/nest/route.h +@@ -458,7 +458,7 @@ typedef struct rta { + protocol-specific metric is availabe */ + + +-const char * rta_dest_names[RTD_MAX]; ++extern const char * rta_dest_names[RTD_MAX]; + + static inline const char *rta_dest_name(uint n) + { return (n < RTD_MAX) ? rta_dest_names[n] : "???"; } +-- +2.27.0 + diff -Nru bird2-2.0.7/debian/patches/series bird2-2.0.7/debian/patches/series --- bird2-2.0.7/debian/patches/series 2020-05-11 08:29:24.000000000 +0000 +++ bird2-2.0.7/debian/patches/series 2021-01-02 17:11:46.000000000 +0000 @@ -1 +1,2 @@ 0001-Sync-the-linuxdoc-mangled-files-with-linuxdoc-tools_.patch +0002-Added-missing-extern.patch