pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/blosc2
Module Name: pkgsrc
Committed By: wiz
Date: Mon May 29 16:38:23 UTC 2023
Modified Files:
pkgsrc/devel/blosc2: distinfo
Added Files:
pkgsrc/devel/blosc2/patches: patch-tests_test__common.h
Log Message:
blosc2: fix build on NetBSD
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/blosc2/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/blosc2/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/blosc2/distinfo
diff -u pkgsrc/devel/blosc2/distinfo:1.1 pkgsrc/devel/blosc2/distinfo:1.2
--- pkgsrc/devel/blosc2/distinfo:1.1 Mon May 22 11:24:13 2023
+++ pkgsrc/devel/blosc2/distinfo Mon May 29 16:38:22 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2023/05/22 11:24:13 adam Exp $
+$NetBSD: distinfo,v 1.2 2023/05/29 16:38:22 wiz Exp $
BLAKE2s (blosc2-2.9.2.tar.gz) = c4188540a26eaaf7debe04f1ab518fa062ae9e9b57a45310e08dae8823873af3
SHA512 (blosc2-2.9.2.tar.gz) = f44346bf3ce8824dbe23d33b688d6b2063406011c066cc14ea3319537c17ecc5c1250c30d77e50696aad9932e0dd10fc95ab4f2c295208808446525636314522
Size (blosc2-2.9.2.tar.gz) = 2790821 bytes
+SHA1 (patch-tests_test__common.h) = 8e0389248203edfe2358be0a220a8b958cb6c689
Added files:
Index: pkgsrc/devel/blosc2/patches/patch-tests_test__common.h
diff -u /dev/null pkgsrc/devel/blosc2/patches/patch-tests_test__common.h:1.1
--- /dev/null Mon May 29 16:38:23 2023
+++ pkgsrc/devel/blosc2/patches/patch-tests_test__common.h Mon May 29 16:38:23 2023
@@ -0,0 +1,13 @@
+$NetBSD: patch-tests_test__common.h,v 1.1 2023/05/29 16:38:23 wiz Exp $
+
+--- tests/test_common.h.orig 2023-05-18 16:04:38.000000000 +0000
++++ tests/test_common.h
+@@ -72,7 +72,7 @@ inline static void* blosc_test_malloc(co
+ #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 defined(__NetBSD__) || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600
+ /* Platform does have an implementation of posix_memalign */
+ res = posix_memalign(&block, alignment, size);
+ #elif defined(__APPLE__)
Home |
Main Index |
Thread Index |
Old Index