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: jperkin
Date: Thu Apr 5 09:33:48 UTC 2018
Modified Files:
pkgsrc/devel/blosc: Makefile distinfo
Added Files:
pkgsrc/devel/blosc/patches: patch-tests_test__common.h
Log Message:
blosc: Use posix_memalign on SunOS.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/blosc/Makefile \
pkgsrc/devel/blosc/distinfo
cvs rdiff -u -r0 -r1.1 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/Makefile
diff -u pkgsrc/devel/blosc/Makefile:1.1 pkgsrc/devel/blosc/Makefile:1.2
--- pkgsrc/devel/blosc/Makefile:1.1 Tue Sep 26 17:38:22 2017
+++ pkgsrc/devel/blosc/Makefile Thu Apr 5 09:33:48 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2017/09/26 17:38:22 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2018/04/05 09:33:48 jperkin Exp $
DISTNAME= blosc-1.12.1
CATEGORIES= devel
@@ -20,6 +20,8 @@ CMAKE_ARGS+= -DPREFER_EXTERNAL_SNAPPY=ON
CMAKE_ARGS+= -DPREFER_EXTERNAL_ZLIB=ON
CMAKE_ARGS+= -DPREFER_EXTERNAL_ZSTD=ON
+CFLAGS.SunOS+= -D__EXTENSIONS__
+
TEST_TARGET= test
PKGCONFIG_OVERRIDE+= blosc.pc.in
Index: pkgsrc/devel/blosc/distinfo
diff -u pkgsrc/devel/blosc/distinfo:1.1 pkgsrc/devel/blosc/distinfo:1.2
--- pkgsrc/devel/blosc/distinfo:1.1 Tue Sep 26 17:38:22 2017
+++ pkgsrc/devel/blosc/distinfo Thu Apr 5 09:33:48 2018
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1 2017/09/26 17:38:22 minskim Exp $
+$NetBSD: distinfo,v 1.2 2018/04/05 09:33:48 jperkin Exp $
SHA1 (blosc-1.12.1.tar.gz) = 234ca85e3602cceee4d8b106c27fda526bbd733d
RMD160 (blosc-1.12.1.tar.gz) = b04b93363b90015b79964dc4615699fa897e5273
SHA512 (blosc-1.12.1.tar.gz) = f65bbbfce6fc59d0c5a0889d5771dd78cae2796244c6ee69edf15b27c4563c28ce789fded9104a8626d12be3e46418d596dfdb204c43e33abae8dca40debfd92
Size (blosc-1.12.1.tar.gz) = 683510 bytes
SHA1 (patch-CMakeLists.txt) = 70dfc44c1541b1fccd200905acbd16e17a9313e1
+SHA1 (patch-tests_test__common.h) = 2dabaec2dd7dc23a5fd56fd01647670845145675
Added files:
Index: pkgsrc/devel/blosc/patches/patch-tests_test__common.h
diff -u /dev/null pkgsrc/devel/blosc/patches/patch-tests_test__common.h:1.1
--- /dev/null Thu Apr 5 09:33:48 2018
+++ pkgsrc/devel/blosc/patches/patch-tests_test__common.h Thu Apr 5 09:33:48 2018
@@ -0,0 +1,15 @@
+$NetBSD: patch-tests_test__common.h,v 1.1 2018/04/05 09:33:48 jperkin Exp $
+
+Use posix_memalign on SunOS with __EXTENSIONS__.
+
+--- tests/test_common.h.orig 2017-07-19 08:08:12.000000000 +0000
++++ tests/test_common.h
+@@ -68,7 +68,7 @@ static void* blosc_test_malloc(const siz
+ #elif defined(_WIN32)
+ /* A (void *) cast needed for avoiding a warning with MINGW :-/ */
+ block = (void *)_aligned_malloc(size, alignment);
+-#elif _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600
++#elif _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(__APPLE__)
Home |
Main Index |
Thread Index |
Old Index