summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorTroy Heber <troyh@debian.org>2012-06-25 09:42:10 -0600
committerIgor Pashev <pashev.igor@gmail.com>2012-10-20 14:42:04 +0400
commit9020438f5db0522b54672bdbc2cc154456ca6829 (patch)
treeba589af253fa26635487a0a3a2502726a3bbbd68 /debian/patches
parentbb1c3da3c12651f1c408d96dd6d33ae157bdadd6 (diff)
downloaddwarfutils-debian/20120410-2.tar.gz
Imported Debian patch 20120410-2debian/20120410-2
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/dwarfutils_hurd.patch26
-rw-r--r--debian/patches/fix_mapages.patch13
-rw-r--r--debian/patches/series2
3 files changed, 41 insertions, 0 deletions
diff --git a/debian/patches/dwarfutils_hurd.patch b/debian/patches/dwarfutils_hurd.patch
new file mode 100644
index 0000000..0f09007
--- /dev/null
+++ b/debian/patches/dwarfutils_hurd.patch
@@ -0,0 +1,26 @@
+Index: dwarfutils-20120410/dwarfdump2/print_die.cc
+===================================================================
+--- dwarfutils-20120410.orig/dwarfdump2/print_die.cc 2012-06-19 16:52:34.000000000 +0000
++++ dwarfutils-20120410/dwarfdump2/print_die.cc 2012-06-19 16:53:19.000000000 +0000
+@@ -1222,8 +1222,8 @@
+ /* Get the global offset for reference */
+ res = dwarf_global_formref(attrib, &ref_off, &err);
+ if (res != DW_DLV_OK) {
+- int errno = dwarf_errno(err);
+- if (errno == DW_DLE_REF_SIG8_NOT_HANDLED ) {
++ int ferrno = dwarf_errno(err);
++ if (ferrno == DW_DLE_REF_SIG8_NOT_HANDLED ) {
+ // No need to stop, ref_sig8 refers out of
+ // the current section.
+ break;
+@@ -1234,8 +1234,8 @@
+ }
+ res = dwarf_dieoffset(die, &die_off, &err);
+ if (res != DW_DLV_OK) {
+- int errno = dwarf_errno(err);
+- if (errno == DW_DLE_REF_SIG8_NOT_HANDLED ) {
++ int ferrno = dwarf_errno(err);
++ if (ferrno == DW_DLE_REF_SIG8_NOT_HANDLED ) {
+ // No need to stop, ref_sig8 refers out of
+ // the current section.
+ break;
diff --git a/debian/patches/fix_mapages.patch b/debian/patches/fix_mapages.patch
new file mode 100644
index 0000000..6cb5ca8
--- /dev/null
+++ b/debian/patches/fix_mapages.patch
@@ -0,0 +1,13 @@
+diff --git a/dwarfdump2/dwarfdump.1 b/dwarfdump2/dwarfdump.1
+index 4e7a40b..22c15cb 100644
+--- a/dwarfdump2/dwarfdump.1
++++ b/dwarfdump2/dwarfdump.1
+@@ -500,8 +500,6 @@ dwarfdump
+
+ dwarfdump.conf
+
+-./dwarfdump.conf
+-
+ $(HOME)/.dwarfdump.conf
+
+ $(HOME)/dwarfdump.conf
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..94543f7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+fix_mapages.patch
+dwarfutils_hurd.patch