Package: dwarves-dfsg Version: 1.10-2 Severity: normal Tags: patch User: [email protected] Usertags: origin-ubuntu utopic ubuntu-patch
In Ubuntu, the attached patch was applied to achieve the following:
* d/p/DW_TAG_mutable_type: fix FTBFS due to newer elfutils
(LP: #1378841).
You don't need this in Debian until Debian has a newer elfutils, but
presumably this will inevitably happen, so I hope that having this here
is useful.
Thanks for considering the patch.
diff -Nru dwarves-dfsg-1.10/debian/changelog dwarves-dfsg-1.10/debian/changelog
diff -Nru dwarves-dfsg-1.10/debian/patches/DW_TAG_mutable_type
dwarves-dfsg-1.10/debian/patches/DW_TAG_mutable_type
--- dwarves-dfsg-1.10/debian/patches/DW_TAG_mutable_type 1970-01-01
01:00:00.000000000 +0100
+++ dwarves-dfsg-1.10/debian/patches/DW_TAG_mutable_type 2014-10-08
15:03:04.000000000 +0100
@@ -0,0 +1,31 @@
+From: Mark Wielaard <[email protected]>
+Date: Wed, 18 Jun 2014 11:14:07 +0200
+Subject: dwarves_fprintf: DW_TAG_mutable_type doesn't exist.
+
+DW_TAG_mutable_type was a mistake in an early DWARFv3 draft and was
+removed in the final version.
+
+http://dwarfstd.org/ShowIssue.php?issue=050223.1
+
+Signed-off-by: Mark Wielaard <[email protected]>
+Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
+
+Origin: upstream,
http://git.kernel.org/cgit/devel/pahole/pahole.git/commit/?id=943a0de0679a34b5e630f85cd01cca35c0d0e544
+Bug-Ubuntu: https://launchpad.net/bugs/1378841
+Last-Update: 2014-10-08
+
+diff --git a/dwarves_fprintf.c b/dwarves_fprintf.c
+index 4d8e0f4..b746864 100644
+--- a/dwarves_fprintf.c
++++ b/dwarves_fprintf.c
+@@ -75,7 +75,6 @@ static const char *dwarf_tag_names[] = {
+ [DW_TAG_unspecified_type] = "unspecified_type",
+ [DW_TAG_partial_unit] = "partial_unit",
+ [DW_TAG_imported_unit] = "imported_unit",
+- [DW_TAG_mutable_type] = "mutable_type",
+ [DW_TAG_condition] = "condition",
+ [DW_TAG_shared_type] = "shared_type",
+ #ifdef STB_GNU_UNIQUE
+--
+cgit v0.10.1
+
diff -Nru dwarves-dfsg-1.10/debian/patches/series
dwarves-dfsg-1.10/debian/patches/series
--- dwarves-dfsg-1.10/debian/patches/series 2012-06-16 10:00:14.000000000
+0100
+++ dwarves-dfsg-1.10/debian/patches/series 2014-10-08 15:03:16.000000000
+0100
@@ -1 +1,2 @@
no_shared_no_ebl.diff
+DW_TAG_mutable_type
-- System Information:
Debian Release: jessie/sid
APT prefers trusty-updates
APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.13.0-35-generic (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
signature.asc
Description: Digital signature

