From 7fcca6be12e5591e79cc41121e071516cbc4a55e2b7baf2037d3c6d14783e83f Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sun, 20 Apr 2008 13:13:41 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libunwind?expand=0&rev=3 --- libunwind-0.98.5-buildfix.diff | 8 +++++ libunwind.changes | 5 +++ libunwind.spec | 66 ++++++++++++++++++---------------- 3 files changed, 49 insertions(+), 30 deletions(-) create mode 100644 libunwind-0.98.5-buildfix.diff diff --git a/libunwind-0.98.5-buildfix.diff b/libunwind-0.98.5-buildfix.diff new file mode 100644 index 0000000..d401c03 --- /dev/null +++ b/libunwind-0.98.5-buildfix.diff @@ -0,0 +1,8 @@ +--- src/elf64.c.orig 2008-04-18 15:23:25.000000000 +0000 ++++ src/elf64.c 2008-04-18 15:23:34.000000000 +0000 +@@ -1,4 +1,5 @@ + #ifndef UNW_REMOTE_ONLY ++# include + # include "elf64.h" + # include "elfxx.c" + #endif diff --git a/libunwind.changes b/libunwind.changes index caced33..c1af62c 100644 --- a/libunwind.changes +++ b/libunwind.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Apr 18 17:26:49 CEST 2008 - rguenther@suse.de + +- Fix build. + ------------------------------------------------------------------- Wed Jun 6 14:03:41 CEST 2007 - schwab@suse.de diff --git a/libunwind.spec b/libunwind.spec index 9082d57..b2491fc 100644 --- a/libunwind.spec +++ b/libunwind.spec @@ -1,7 +1,7 @@ # # spec file for package libunwind (Version 0.98.5) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -10,18 +10,20 @@ # norootforbuild + Name: libunwind BuildRequires: gcc-c++ -URL: http://savannah.nongnu.org/projects/libunwind/ +Url: http://savannah.nongnu.org/projects/libunwind/ Summary: Unwind Library Version: 0.98.5 -Release: 59 +Release: 108 Group: System/Base License: X11/MIT Source: libunwind-%{version}.tar.gz Patch: libunwind-%{version}.diff +Patch1: libunwind-%{version}-buildfix.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: %ix86 ia64 x86_64 +ExclusiveArch: %ix86 ia64 x86_64 %description A portable and efficient C programming interface (API) to determine the @@ -34,8 +36,9 @@ Authors: David Mosberger %package devel +License: X11/MIT Summary: Unwind library -Group: System/Libraries +Group: Development/Libraries/C and C++ Requires: libunwind = %{version}-%{release} Provides: libunwind:%{_libdir}/libunwind.so @@ -52,6 +55,7 @@ Authors: %prep %setup -q %patch +%patch1 %build #chmod +w aclocal.m4 configure @@ -95,58 +99,60 @@ rm -rf $RPM_BUILD_ROOT %doc %{_mandir}/man?/* %changelog -* Wed Jun 06 2007 - schwab@suse.de +* Fri Apr 18 2008 rguenther@suse.de +- Fix build. +* Wed Jun 06 2007 schwab@suse.de - Fix memory leak. -* Thu Jan 26 2006 - schwab@suse.de +* Thu Jan 26 2006 schwab@suse.de - Run ldconfig. -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Mon Nov 14 2005 - schwab@suse.de +* Mon Nov 14 2005 schwab@suse.de - Undo last change. -* Mon Oct 31 2005 - dmueller@suse.de +* Mon Oct 31 2005 dmueller@suse.de - build with nonexecutable stack -* Fri Jul 22 2005 - schwab@suse.de +* Fri Jul 22 2005 schwab@suse.de - Remove broken tests. -* Mon May 02 2005 - schwab@suse.de +* Tue May 03 2005 schwab@suse.de - Fix broken test. -* Sat Apr 23 2005 - schwab@suse.de +* Sat Apr 23 2005 schwab@suse.de - Only libunwind needs to be in /lib. - There are no expected testsuite failures on ia64 any more. -* Thu Apr 21 2005 - schwab@suse.de +* Thu Apr 21 2005 schwab@suse.de - Update to libunwind 0.98.5. -* Fri Feb 25 2005 - schwab@suse.de +* Fri Feb 25 2005 schwab@suse.de - Update to libunwind 0.98.4. -* Fri Feb 04 2005 - schwab@suse.de +* Fri Feb 04 2005 schwab@suse.de - Fix libdir. - Fix warning. -* Tue Dec 07 2004 - schwab@suse.de +* Tue Dec 07 2004 schwab@suse.de - Update to libunwind 0.98.3. -* Mon Nov 15 2004 - schwab@suse.de +* Mon Nov 15 2004 schwab@suse.de - Don't move around libtool libraries. -* Sun Nov 14 2004 - schwab@suse.de +* Sun Nov 14 2004 schwab@suse.de - Split off libunwind-devel. - Move library to /lib. - Remove broken test. -* Fri Nov 05 2004 - schwab@suse.de +* Fri Nov 05 2004 schwab@suse.de - Update to libunwind 0.98.2. -* Thu Oct 28 2004 - schwab@suse.de +* Thu Oct 28 2004 schwab@suse.de - Update to libunwind 0.98.1. -* Wed Sep 29 2004 - schwab@suse.de +* Wed Sep 29 2004 schwab@suse.de - Fix installed headers. -* Thu Sep 09 2004 - schwab@suse.de +* Fri Sep 10 2004 schwab@suse.de - Update to libunwind 0.98. - Enable building on x86_64. -* Thu Aug 19 2004 - schwab@suse.de +* Thu Aug 19 2004 schwab@suse.de - Update to libunwind 0.97. -* Sun Apr 18 2004 - schwab@suse.de +* Sun Apr 18 2004 schwab@suse.de - Pacify autobuild. -* Fri Dec 05 2003 - schwab@suse.de +* Fri Dec 05 2003 schwab@suse.de - Update to libunwind 0.96. -* Thu Dec 04 2003 - schwab@suse.de +* Thu Dec 04 2003 schwab@suse.de - Update to libunwind 0.95. -* Fri Sep 26 2003 - schwab@suse.de +* Fri Sep 26 2003 schwab@suse.de - Update to libunwind 0.93. -* Wed Jul 23 2003 - schwab@suse.de +* Wed Jul 23 2003 schwab@suse.de - Fix typo in specfile. -* Thu Jul 11 2002 - schwab@suse.de +* Thu Jul 11 2002 schwab@suse.de - Initial version.