remove useless patch

This commit is contained in:
openeuler-basic 2020-01-12 16:06:07 +08:00
parent 90ae9f11a7
commit 2c43f02de0
2 changed files with 4 additions and 18 deletions

View File

@ -1,15 +0,0 @@
diff -up libunwind-1.1/src/arm/Gglobal.c.default-to-exidx libunwind-1.1/src/arm/Gglobal.c
--- libunwind-1.1/src/arm/Gglobal.c.default-to-exidx 2015-06-02 10:38:39.733587918 -0400
+++ libunwind-1.1/src/arm/Gglobal.c 2015-06-02 10:38:53.086500142 -0400
@@ -29,7 +29,10 @@ HIDDEN define_lock (arm_lock);
HIDDEN int tdep_init_done;
/* Unwinding methods to use. See UNW_METHOD_ enums */
-HIDDEN int unwi_unwind_method = UNW_ARM_METHOD_ALL;
+/* UNW_ARM_METHOD_ALL starts with UNW_ARM_METHOD_DWARF */
+/* which is never right on Fedora ARM. Default instead */
+/* to UNW_ARM_METHOD_EXIDX. */
+HIDDEN int unwi_unwind_method = UNW_ARM_METHOD_EXIDX;
HIDDEN void
tdep_init (void)

View File

@ -1,13 +1,11 @@
Name: libunwind
Version: 1.3.1
Release: 2
Release: 3
Summary: Libunwind provides a C ABI to determine the call-chain of a program
License: BSD
URL: http://savannah.nongnu.org/projects/libunwind
Source: http://download-mirror.savannah.gnu.org/releases/libunwind/libunwind-%{version}.tar.gz
Patch1: libunwind-arm-default-to-exidx.patch
Patch6000: Don-t-check-if-the-memory-is-in-core-64.patch
Patch6001: dwarf-do-not-allocate-in-load_debug_frame-72.patch
Patch6002: Cleanup-remove-unused-variable.patch
@ -95,6 +93,9 @@ make check || true
%{_mandir}/*/*
%changelog
* Sun Jan 12 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.3.1-3
- remove useless patch
* Fri Sep 27 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.3.1-2
- del unnecessary statement