pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/blosc devel/blosc: Make this packag...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a9221794a340
branches:  trunk
changeset: 307747:a9221794a340
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun May 13 03:22:33 2018 +0000
description:
devel/blosc: Make this package build on Darwin again

test_common.h has a seperate #elif branch to handle Darwin. Let blosc
use it on Darwin, rather than the C11 branch.

diffstat:

 devel/blosc/distinfo                           |  4 ++--
 devel/blosc/patches/patch-tests_test__common.h |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r b50ad81aa17a -r a9221794a340 devel/blosc/distinfo
--- a/devel/blosc/distinfo      Sat May 12 22:07:47 2018 +0000
+++ b/devel/blosc/distinfo      Sun May 13 03:22:33 2018 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.5 2018/05/12 14:04:00 maya Exp $
+$NetBSD: distinfo,v 1.6 2018/05/13 03:22:33 minskim Exp $
 
 SHA1 (blosc-1.14.2.tar.gz) = ba8bc63c2f0cdc62077a45b5e44216abd098020a
 RMD160 (blosc-1.14.2.tar.gz) = 4e75ba5f5cee49410cde42e0bef75d2f7e3d78d8
 SHA512 (blosc-1.14.2.tar.gz) = fb0346e3c2c6101d17963771643a114302034a5389e2ffd9498c6b6367fe6f138ec59edbf039f89a57ce44a63e1f70324ad3906a39884ecc9d54ee2987a1b39c
 Size (blosc-1.14.2.tar.gz) = 759731 bytes
 SHA1 (patch-CMakeLists.txt) = 70dfc44c1541b1fccd200905acbd16e17a9313e1
-SHA1 (patch-tests_test__common.h) = a5f7e117c5de05059203a79dda9b4f1fbd850b3b
+SHA1 (patch-tests_test__common.h) = 2eb2b756bcb67453de6fe526c31a974940098856
diff -r b50ad81aa17a -r a9221794a340 devel/blosc/patches/patch-tests_test__common.h
--- a/devel/blosc/patches/patch-tests_test__common.h    Sat May 12 22:07:47 2018 +0000
+++ b/devel/blosc/patches/patch-tests_test__common.h    Sun May 13 03:22:33 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-tests_test__common.h,v 1.3 2018/05/12 14:04:00 maya Exp $
+$NetBSD: patch-tests_test__common.h,v 1.4 2018/05/13 03:22:33 minskim Exp $
 
 Use posix_memalign on SunOS with __EXTENSIONS__.
 Use a standard C11 test.
@@ -16,7 +16,7 @@
 +#if _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 || defined(__EXTENSIONS__)
 +  /* Platform does have an implementation of posix_memalign */
 +  res = posix_memalign(&block, alignment, size);
-+#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
++#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L && !defined(__APPLE__)
    /* C11 aligned allocation. 'size' must be a multiple of the alignment. */
    block = aligned_alloc(alignment, size);
  #elif defined(_WIN32)



Home | Main Index | Thread Index | Old Index