From 0f741cbb9b45814df50e3f8c7d0ac1cc04a74d79 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sun, 8 May 2016 22:13:32 +0300 Subject: Added dyson-pr12548-anonymous-version-tag.patch --- .../patches/dyson-pr12548-anonymous-version-tag.patch | 19 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 20 insertions(+) create mode 100644 debian/patches/dyson-pr12548-anonymous-version-tag.patch (limited to 'debian') diff --git a/debian/patches/dyson-pr12548-anonymous-version-tag.patch b/debian/patches/dyson-pr12548-anonymous-version-tag.patch new file mode 100644 index 0000000..1ccbcff --- /dev/null +++ b/debian/patches/dyson-pr12548-anonymous-version-tag.patch @@ -0,0 +1,19 @@ +Description: anonymous version tag mapped to base version +Bug: http://sourceware.org/bugzilla/show_bug.cgi?id=12548 +Index: binutils-2.26/ld/ldlang.c +=================================================================== +--- binutils-2.26.orig/ld/ldlang.c ++++ binutils-2.26/ld/ldlang.c +@@ -7947,9 +7947,9 @@ lang_register_vers_node (const char *nam + if (link_info.version_info != NULL + && (name[0] == '\0' || link_info.version_info->name[0] == '\0')) + { +- einfo (_("%X%P: anonymous version tag cannot be combined" +- " with other version tags\n")); +- free (version); ++ version->deps = NULL; ++ version->name = ""; ++ version->vernum = 0; + return; + } + diff --git a/debian/patches/series b/debian/patches/series index f37549a..dd54571 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -31,4 +31,5 @@ release-build.diff dyson-biarch.patch dyson-pr14493-sol2.patch dyson-ld_altexec.patch +dyson-pr12548-anonymous-version-tag.patch -- cgit v1.2.3