Date: Saturday, November 28, 2015 @ 17:22:40 Author: anatolik Revision: 147902
upgpkg: msgpack-c 1.3.0-1 Modified: msgpack-c/trunk/PKGBUILD Deleted: msgpack-c/trunk/fix_test_failure.patch ------------------------+ PKGBUILD | 14 +++----------- fix_test_failure.patch | 25 ------------------------- 2 files changed, 3 insertions(+), 36 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-11-28 09:47:56 UTC (rev 147901) +++ PKGBUILD 2015-11-28 16:22:40 UTC (rev 147902) @@ -3,7 +3,7 @@ # Contributor: Auguste Pop <auguste [at] gmail [dot] com> pkgname=msgpack-c -pkgver=1.2.0 +pkgver=1.3.0 _tag=cpp-$pkgver pkgrel=1 pkgdesc='An efficient object serialization library' @@ -12,17 +12,9 @@ license=(Apache) depends=(glibc) checkdepends=(gtest) -source=($pkgname-$pkgver.zip::https://github.com/msgpack/msgpack-c/archive/$_tag.zip - fix_test_failure.patch) -sha1sums=('ddd3039fe6629451c5bea338566e763a9445577b' - 'c6abea80cb55279c024d20fc632422c54a603461') +source=($pkgname-$pkgver.zip::https://github.com/msgpack/msgpack-c/archive/$_tag.zip) +sha1sums=('0cd224c6a352ad2e1d518d6ff57d5868494e0567') -prepare() { - cd msgpack-c-$_tag - # upstream fix https://github.com/msgpack/msgpack-c/pull/95 - # patch -p1 < ../fix_test_failure.patch -} - build() { cd msgpack-c-$_tag ./bootstrap Deleted: fix_test_failure.patch =================================================================== --- fix_test_failure.patch 2015-11-28 09:47:56 UTC (rev 147901) +++ fix_test_failure.patch 2015-11-28 16:22:40 UTC (rev 147902) @@ -1,25 +0,0 @@ -commit c203928fae924e017f39afb2723414d458fc01a1 -Author: Daiki Ueno <u...@gnu.org> -Date: Thu Jul 17 18:38:04 2014 +0900 - - Fix test failure regarding int->float conversion - - Supply only small integers (< 1^23) to int->float conversion tests, - so they can roundtrip without error. - -diff --git a/test/msgpack_test.cpp b/test/msgpack_test.cpp -index fb35c68..6917caf 100644 ---- a/test/msgpack_test.cpp -+++ b/test/msgpack_test.cpp -@@ -201,10 +201,8 @@ TYPED_TEST_P(IntegerToFloatingPointTest, simple_buffer) - v.push_back(1); - if (numeric_limits<integer_type>::is_signed) v.push_back(-1); - else v.push_back(2); -- v.push_back(numeric_limits<integer_type>::min()); -- v.push_back(numeric_limits<integer_type>::max()); - for (unsigned int i = 0; i < kLoop; i++) { -- v.push_back(rand()); -+ v.push_back(rand() % 0x7FFFFF); - } - for (unsigned int i = 0; i < v.size() ; i++) { - msgpack::sbuffer sbuf;