mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/libunwind to 1.1-3
This commit is contained in:
parent
1cace15b8b
commit
d9e33ed29f
2 changed files with 16 additions and 1 deletions
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/include/dwarf_i.h
|
||||||
|
+++ b/include/dwarf_i.h
|
||||||
|
@@ -20,7 +20,7 @@
|
||||||
|
extern const uint8_t dwarf_to_unw_regnum_map[DWARF_REGNUM_MAP_LENGTH];
|
||||||
|
/* REG is evaluated multiple times; it better be side-effects free! */
|
||||||
|
# define dwarf_to_unw_regnum(reg) \
|
||||||
|
- (((reg) <= DWARF_REGNUM_MAP_LENGTH) ? dwarf_to_unw_regnum_map[reg] : 0)
|
||||||
|
+ (((reg) < DWARF_REGNUM_MAP_LENGTH) ? dwarf_to_unw_regnum_map[reg] : 0)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef UNW_LOCAL_ONLY
|
|
@ -9,18 +9,22 @@
|
||||||
|
|
||||||
pkgname=libunwind
|
pkgname=libunwind
|
||||||
pkgver=1.1
|
pkgver=1.1
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc='Portable and efficient C programming interface (API) to determine the call-chain of a program'
|
pkgdesc='Portable and efficient C programming interface (API) to determine the call-chain of a program'
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url='http://www.nongnu.org/libunwind/'
|
url='http://www.nongnu.org/libunwind/'
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('glibc' 'xz')
|
depends=('glibc' 'xz')
|
||||||
source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"
|
source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"
|
||||||
|
'001-invalid-dwarf-opcodes-can-cause-references-beyond.patch'
|
||||||
'libunwind-aarch64.patch')
|
'libunwind-aarch64.patch')
|
||||||
md5sums=('fb4ea2f6fbbe45bf032cd36e586883ce'
|
md5sums=('fb4ea2f6fbbe45bf032cd36e586883ce'
|
||||||
|
'73db2376e195a716f271ebce6bb7e5c0'
|
||||||
'5dd4c2661baa949389259a027d3b89e2')
|
'5dd4c2661baa949389259a027d3b89e2')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
patch -p1 -d $pkgname-$pkgver < 001-invalid-dwarf-opcodes-can-cause-references-beyond.patch
|
||||||
|
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname-$pkgver
|
||||||
patch -p1 -i ../libunwind-aarch64.patch
|
patch -p1 -i ../libunwind-aarch64.patch
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
|
Loading…
Reference in a new issue