[arch-commits] Commit in xrootd/trunk (PKGBUILD fix_signness.patch)
Konstantin Gizdov
kgizdov at archlinux.org
Tue Apr 9 21:24:46 UTC 2019
Date: Tuesday, April 9, 2019 @ 21:24:44
Author: kgizdov
Revision: 450687
upgpkg: xrootd 4.9.1-1
Modified:
xrootd/trunk/PKGBUILD
Deleted:
xrootd/trunk/fix_signness.patch
--------------------+
PKGBUILD | 15 ++++-----------
fix_signness.patch | 44 --------------------------------------------
2 files changed, 4 insertions(+), 55 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-09 20:32:15 UTC (rev 450686)
+++ PKGBUILD 2019-04-09 21:24:44 UTC (rev 450687)
@@ -6,8 +6,8 @@
replaces=('python-xrootd' 'python-pyxrootd')
conflicts=('python2-xrootd' 'python2-pyxrootd')
pkgdesc="Software framework for fast, low latency, scalable and fault tolerant data access."
-pkgver=4.9.0
-pkgrel=2
+pkgver=4.9.1
+pkgrel=1
arch=('x86_64')
url="http://xrootd.org"
license=('LGPL3')
@@ -14,20 +14,13 @@
depends=('ceph' 'python' 'cppunit')
makedepends=('ceph' 'cmake' 'python')
checkdepends=('cppunit')
-source=("${url}/download/v${pkgver}/xrootd-${pkgver}.tar.gz"
- fix_signness.patch)
-sha256sums=('49791648bdc99ad87545f60d1808dacf926de7b843415ebdd181ccf43b2af8be'
- 'f291968f0e17168330a422b43c92f1c2ec33f9c058f3310839ceeecff5e25f62')
+source=("${url}/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('de47160348d52a655f8d601520ad9146b9ee76eb5d2352cdf232a6fafce27adb')
get_pyver () {
python -c 'import sys; print(str(sys.version_info[0]) + "." + str(sys.version_info[1]))'
}
-prepare() {
- cd "${srcdir}/${pkgbase}-${pkgver}"
- patch -Np1 -i "${srcdir}"/fix_signness.patch
-}
-
build() {
cd "${srcdir}/${pkgbase}-${pkgver}"
Deleted: fix_signness.patch
===================================================================
--- fix_signness.patch 2019-04-09 20:32:15 UTC (rev 450686)
+++ fix_signness.patch 2019-04-09 21:24:44 UTC (rev 450687)
@@ -1,44 +0,0 @@
-From 8e5940a2ebeb74d186a848da3bc21f1fa77c8835 Mon Sep 17 00:00:00 2001
-From: Konstantin Gizdov <kgizdov at gmail.com>
-Date: Sun, 3 Mar 2019 14:46:41 +0200
-Subject: [PATCH] fix signness and tests
-
----
- src/XrdCl/XrdClParallelOperation.hh | 4 ++--
- tests/XrdClTests/OperationsWorkflowTest.cc | 6 ------
- 2 files changed, 2 insertions(+), 8 deletions(-)
-
-diff --git a/src/XrdCl/XrdClParallelOperation.hh b/src/XrdCl/XrdClParallelOperation.hh
-index 2bd13b63e43..897fae78a86 100644
---- a/src/XrdCl/XrdClParallelOperation.hh
-+++ b/src/XrdCl/XrdClParallelOperation.hh
-@@ -89,10 +89,10 @@ namespace XrdCl
- {
- std::ostringstream oss;
- oss << "Parallel(";
-- for( int i = 0; i < pipelines.size(); i++ )
-+ for( size_t i = 0; i < pipelines.size(); i++ )
- {
- oss << pipelines[i]->ToString();
-- if( i != pipelines.size() - 1 )
-+ if( i + 1 != pipelines.size() )
- {
- oss << " && ";
- }
-diff --git a/tests/XrdClTests/OperationsWorkflowTest.cc b/tests/XrdClTests/OperationsWorkflowTest.cc
-index 26b1b517519..5e09b6689d1 100644
---- a/tests/XrdClTests/OperationsWorkflowTest.cc
-+++ b/tests/XrdClTests/OperationsWorkflowTest.cc
-@@ -157,12 +157,6 @@ namespace {
- bool executed;
- };
-
-- char* createBuf(const char* content, uint32_t length){
-- char* buf = new char[length + 1]();
-- strncpy(buf, content, length);
-- return buf;
-- }
--
-
-
- }
More information about the arch-commits
mailing list