[arch-commits] Commit in libunwind/trunk (2 files)

Felix Yan felixonmars at archlinux.org
Sat Apr 22 18:00:10 UTC 2017


    Date: Saturday, April 22, 2017 @ 18:00:10
  Author: felixonmars
Revision: 293968

upgpkg: libunwind 1.2-1

Modified:
  libunwind/trunk/PKGBUILD
Deleted:
  libunwind/trunk/001-invalid-dwarf-opcodes-can-cause-references-beyond.patch

-------------------------------------------------------------+
 001-invalid-dwarf-opcodes-can-cause-references-beyond.patch |   11 ---
 PKGBUILD                                                    |   31 ++++------
 2 files changed, 14 insertions(+), 28 deletions(-)

Deleted: 001-invalid-dwarf-opcodes-can-cause-references-beyond.patch
===================================================================
--- 001-invalid-dwarf-opcodes-can-cause-references-beyond.patch	2017-04-22 17:49:48 UTC (rev 293967)
+++ 001-invalid-dwarf-opcodes-can-cause-references-beyond.patch	2017-04-22 18:00:10 UTC (rev 293968)
@@ -1,11 +0,0 @@
---- 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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-04-22 17:49:48 UTC (rev 293967)
+++ PKGBUILD	2017-04-22 18:00:10 UTC (rev 293968)
@@ -1,31 +1,28 @@
-# $id$
-# Maintainer: Sébastien Luttringer
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Sébastien Luttringer
 # Contributor: Lawrence Lee <valheru at facticius.net>
 # Contributor: Phillip Marvin <phillip.marvin at gmail.com>
 # Contributor: keystone <phillip.marvin at gmail.com>
 
 pkgname=libunwind
-pkgver=1.1
-pkgrel=3
+pkgver=1.2
+pkgrel=1
 pkgdesc='Portable and efficient C programming interface (API) to determine the call-chain of a program'
 arch=('i686' 'x86_64')
 url='http://www.nongnu.org/libunwind/'
 license=('GPL')
 depends=('glibc' 'xz')
-source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig}
-        '001-invalid-dwarf-opcodes-can-cause-references-beyond.patch')
-md5sums=('fb4ea2f6fbbe45bf032cd36e586883ce'
-         'SKIP'
-         '73db2376e195a716f271ebce6bb7e5c0')
-validpgpkeys=('5C96BDEAF5F47FB02BD4F6B965D98560914F3F48')  # Arun Sharma
+makedepends=('texlive-core')
+source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
+sha512sums=('985d0817944e3cafd99aaa5642862d878972e0851f7954289247e808c9319f399ca29342395f0571cb6568a1104a82bd92d585936f2ca888dda37ac796fde0d4'
+            'SKIP')
+validpgpkeys=('5C96BDEAF5F47FB02BD4F6B965D98560914F3F48'  # Arun Sharma
+              '1675C8DA2EF907FB116EB709EC52B396E6874AF2') # Dave Watson
 
-prepare() {
-  patch -p1 -d $pkgname-$pkgver < 001-invalid-dwarf-opcodes-can-cause-references-beyond.patch
-}
-
 build() {
   cd $pkgname-$pkgver
-  ./configure CFLAGS="$CFLAGS -U_FORTIFY_SOURCE" --prefix=/usr
+  ./configure --prefix=/usr
   make
 }
 
@@ -32,12 +29,12 @@
 check() {
   cd $pkgname-$pkgver
   # This function is ``supposed'' to fail. Upstream know, but haven't fixed it.
-  make check || return 0
+  make check || :
 }
 
 package() {
   cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir/" install
+  make DESTDIR="$pkgdir" install
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list