forked from pool/dwarves
Accepting request 282365 from devel:tools
Fix build with newer libdwarf versions OBS-URL: https://build.opensuse.org/request/show/282365 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dwarves?expand=0&rev=12
This commit is contained in:
commit
4a9def07e7
29
dwarves-no-DW_TAG_mutable.patch
Normal file
29
dwarves-no-DW_TAG_mutable.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From 943a0de0679a34b5e630f85cd01cca35c0d0e544 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Mark Wielaard <mjw@redhat.com>
|
||||||
|
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 <mjw@redhat.com>
|
||||||
|
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
|
||||||
|
|
||||||
|
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.2
|
||||||
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 22 08:47:19 UTC 2015 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Add dwarves-no-DW_TAG_mutable.patch: Fix build with newer
|
||||||
|
libdwarf versions: DW_TAG_mutable_type was a mistake in an early
|
||||||
|
DWARFv3 draft and was removed in the final version.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 15 14:37:48 UTC 2014 - jengelh@inai.de
|
Wed Oct 15 14:37:48 UTC 2014 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package dwarves
|
# spec file for package dwarves
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -29,6 +29,7 @@ Url: http://acmel.wordpress.com/
|
|||||||
#DL-URL: http://fedorapeople.org/~acme/dwarves/
|
#DL-URL: http://fedorapeople.org/~acme/dwarves/
|
||||||
Source: http://fedorapeople.org/~acme/dwarves/%name-%version.tar.bz2
|
Source: http://fedorapeople.org/~acme/dwarves/%name-%version.tar.bz2
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
|
Patch1: dwarves-no-DW_TAG_mutable.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: libdw-devel >= 0.142
|
BuildRequires: libdw-devel >= 0.142
|
||||||
@ -85,6 +86,7 @@ for processing DWARF, a debugging data format for ELF files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c
|
%setup -q -c
|
||||||
|
%patch -P 1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%optflags"
|
export CFLAGS="%optflags"
|
||||||
|
Loading…
Reference in New Issue
Block a user