pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/blosc
Module Name: pkgsrc
Committed By: minskim
Date: Sun May 13 03:22:33 UTC 2018
Modified Files:
pkgsrc/devel/blosc: distinfo
pkgsrc/devel/blosc/patches: patch-tests_test__common.h
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/blosc/distinfo
cvs rdiff -u -r1.3 -r1.4 \
pkgsrc/devel/blosc/patches/patch-tests_test__common.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/blosc/distinfo
diff -u pkgsrc/devel/blosc/distinfo:1.5 pkgsrc/devel/blosc/distinfo:1.6
--- pkgsrc/devel/blosc/distinfo:1.5 Sat May 12 14:04:00 2018
+++ pkgsrc/devel/blosc/distinfo Sun May 13 03:22:33 2018
@@ -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
Index: pkgsrc/devel/blosc/patches/patch-tests_test__common.h
diff -u pkgsrc/devel/blosc/patches/patch-tests_test__common.h:1.3 pkgsrc/devel/blosc/patches/patch-tests_test__common.h:1.4
--- pkgsrc/devel/blosc/patches/patch-tests_test__common.h:1.3 Sat May 12 14:04:00 2018
+++ pkgsrc/devel/blosc/patches/patch-tests_test__common.h Sun May 13 03:22:33 2018
@@ -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 @@ behaviour (C11 7.22.3.1).
+#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