Accepting request 30687 from Base:System

Copy from Base:System/libunwind based on submit request 30687 from user rguenther

OBS-URL: https://build.opensuse.org/request/show/30687
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libunwind?expand=0&rev=8
This commit is contained in:
OBS User autobuild 2010-01-28 16:32:04 +00:00 committed by Git OBS Bridge
parent 0f07571bd1
commit c0300daabb
3 changed files with 31 additions and 70 deletions

View File

@ -0,0 +1,13 @@
Index: tests/Gtest-dyn1.c
===================================================================
--- tests/Gtest-dyn1.c.orig
+++ tests/Gtest-dyn1.c
@@ -106,7 +106,7 @@ sighandler (int signal)
name[0] = '\0';
off[0] = '\0';
if (unw_get_proc_name (&cursor, name, sizeof (name), &offset) == 0
- && off > 0)
+ && offset > 0)
snprintf (off, sizeof (off), "+0x%lx", (long) offset);
if (verbose)
printf ("ip = %lx <%s%s>\n", (long) ip, name, off);

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Jan 28 12:59:59 CET 2010 - rguenther@suse.de
- Build without _FORTIFY_SOURCE, recent glibc fortify longjmp which
confuses libunwind a lot and breaks the build.
-------------------------------------------------------------------
Thu Oct 15 16:43:17 CEST 2009 - marek.belisko@open-nandra.com
- Fix typo in Gtest-dyn1.c (bnc#531705)
-------------------------------------------------------------------
Mon Jan 26 19:37:58 CET 2009 - schwab@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package libunwind (Version 0.98.6)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -23,11 +23,13 @@ BuildRequires: gcc-c++
Url: http://savannah.nongnu.org/projects/libunwind/
Summary: Unwind Library
Version: 0.98.6
Release: 25
Release: 27
Group: System/Base
License: X11/MIT
License: MIT
Source: libunwind-%{version}.tar.gz
Patch: libunwind-%{version}.diff
# PATCH-FIX-OPENSUSE libunwind-0.98.6-pointer-comparison.patch bnc#531705
Patch1: libunwind-%{version}-pointer-comparison.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86 ia64 x86_64
@ -42,7 +44,7 @@ Authors:
David Mosberger <David.Mosberger@acm.org>
%package devel
License: X11/MIT
License: MIT
Summary: Unwind library
Group: Development/Libraries/C and C++
Requires: libunwind = %{version}-%{release}
@ -65,6 +67,7 @@ Authors:
%build
chmod +w aclocal.m4 configure
autoreconf -fi
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -U_FORTIFY_SOURCE"
./configure "CFLAGS=$RPM_OPT_FLAGS" --prefix=/usr --mandir=%{_mandir} \
--libdir=%{_libdir} --build=%{_target_cpu}-suse-linux
make %{?jobs:-j%jobs}
@ -104,69 +107,3 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_mandir}/man?/*
%changelog
* Mon Jan 26 2009 schwab@suse.de
- Fix overlapping memcpy.
* Tue May 13 2008 schwab@suse.de
- Update to libunwind 0.98.6.
** Fix address-leak triggered by invalid byte-order. Fixed by Andreas Schwab.
** On ia64, get_static_proc_name() no longer uses a weak reference to
_Uelf64_get_proc_name(), since that was causing problems with archive
libraries and no longer served any apparent purpose. Fixed by
Curt Wohlgemuth.
* 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
- Run ldconfig.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Nov 14 2005 schwab@suse.de
- Undo last change.
* Mon Oct 31 2005 dmueller@suse.de
- build with nonexecutable stack
* Fri Jul 22 2005 schwab@suse.de
- Remove broken tests.
* Mon May 02 2005 schwab@suse.de
- Fix broken test.
* 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
- Update to libunwind 0.98.5.
* Fri Feb 25 2005 schwab@suse.de
- Update to libunwind 0.98.4.
* Fri Feb 04 2005 schwab@suse.de
- Fix libdir.
- Fix warning.
* Tue Dec 07 2004 schwab@suse.de
- Update to libunwind 0.98.3.
* Mon Nov 15 2004 schwab@suse.de
- Don't move around libtool libraries.
* 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
- Update to libunwind 0.98.2.
* Thu Oct 28 2004 schwab@suse.de
- Update to libunwind 0.98.1.
* Wed Sep 29 2004 schwab@suse.de
- Fix installed headers.
* Thu Sep 09 2004 schwab@suse.de
- Update to libunwind 0.98.
- Enable building on x86_64.
* Thu Aug 19 2004 schwab@suse.de
- Update to libunwind 0.97.
* Sun Apr 18 2004 schwab@suse.de
- Pacify autobuild.
* Fri Dec 05 2003 schwab@suse.de
- Update to libunwind 0.96.
* Thu Dec 04 2003 schwab@suse.de
- Update to libunwind 0.95.
* Fri Sep 26 2003 schwab@suse.de
- Update to libunwind 0.93.
* Wed Jul 23 2003 schwab@suse.de
- Fix typo in specfile.
* Thu Jul 11 2002 schwab@suse.de
- Initial version.