[arch-commits] Commit in talloc/trunk (PKGBUILD fix_test_path.patch)

Anatol Pomozov anatolik at archlinux.org
Mon Oct 19 16:50:57 UTC 2015


    Date: Monday, October 19, 2015 @ 18:50:57
  Author: anatolik
Revision: 249514

upgpkg: talloc 2.1.4-1

Added:
  talloc/trunk/fix_test_path.patch
Modified:
  talloc/trunk/PKGBUILD

---------------------+
 PKGBUILD            |   11 +++++++----
 fix_test_path.patch |   13 +++++++++++++
 2 files changed, 20 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-10-19 16:24:36 UTC (rev 249513)
+++ PKGBUILD	2015-10-19 16:50:57 UTC (rev 249514)
@@ -3,7 +3,7 @@
 # Contributor: Tobias Powalowski <tpowa at archlinux.org>
 
 pkgname=talloc
-pkgver=2.1.3
+pkgver=2.1.4
 pkgrel=1
 pkgdesc="Hierarchical pool based memory allocator with destructors"
 arch=('i686' 'x86_64')
@@ -12,13 +12,16 @@
 depends=('glibc')
 makedepends=('python2' 'docbook-xsl')
 optdepends=('python2: for python bindings')
-source=(http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.{gz,asc})
-sha1sums=('75f6a09a7199d0d952ebde6fc605dc0f2046b41c'
-          'SKIP')
+source=(http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.{gz,asc}
+        fix_test_path.patch)
+sha1sums=('1c5383249efc3ff3ff44c27c1263eb08ca731a7c'
+          'SKIP'
+          '34132be289f9ce1c38c8b367def8d91ac7dbb706')
 validpgpkeys=(9147A339719518EE9011BCB54793916113084025) # samba-bugs at samba.org
 
 prepare() {
    cd "${srcdir}/${pkgname}-${pkgver}"
+   patch -p1 < ../fix_test_path.patch
    sed -i -e 's#python#python2#g' buildtools/bin/waf
 }
 

Added: fix_test_path.patch
===================================================================
--- fix_test_path.patch	                        (rev 0)
+++ fix_test_path.patch	2015-10-19 16:50:57 UTC (rev 249514)
@@ -0,0 +1,13 @@
+diff --git a/wscript b/wscript
+index 9cedbbf..4432a9a 100644
+--- a/wscript
++++ b/wscript
+@@ -158,7 +158,7 @@ def test(ctx):
+     cmd = os.path.join(Utils.g_module.blddir, 'talloc_testsuite')
+     ret = samba_utils.RUN_COMMAND(cmd)
+     print("testsuite returned %d" % ret)
+-    magic_cmd = os.path.join(srcdir, 'lib', 'talloc',
++    magic_cmd = os.path.join(srcdir,
+                              'test_magic_differs.sh')
+ 
+     magic_ret = samba_utils.RUN_COMMAND(magic_cmd)



More information about the arch-commits mailing list