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:   maya
Date:           Sat May 12 12:01:26 UTC 2018

Modified Files:
        pkgsrc/devel/blosc: Makefile distinfo
        pkgsrc/devel/blosc/patches: patch-tests_test__common.h

Log Message:
blosc: use the __STDC_VERSION__ right for everyone, not just freebsd.

(we can probably drop the _ISO_C11 feature test thing for glibc then).

bump PKGREVISION, this likely changes the binary for SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/blosc/Makefile \
    pkgsrc/devel/blosc/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    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.3 pkgsrc/devel/blosc/Makefile:1.4
--- pkgsrc/devel/blosc/Makefile:1.3     Thu Apr  5 15:26:08 2018
+++ pkgsrc/devel/blosc/Makefile Sat May 12 12:01:26 2018
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2018/04/05 15:26:08 minskim Exp $
+# $NetBSD: Makefile,v 1.4 2018/05/12 12:01:26 maya Exp $
 
 DISTNAME=      blosc-1.14.2
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=Blosc/}
 GITHUB_PROJECT=        c-blosc
Index: pkgsrc/devel/blosc/distinfo
diff -u pkgsrc/devel/blosc/distinfo:1.3 pkgsrc/devel/blosc/distinfo:1.4
--- pkgsrc/devel/blosc/distinfo:1.3     Thu Apr  5 15:26:08 2018
+++ pkgsrc/devel/blosc/distinfo Sat May 12 12:01:26 2018
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.3 2018/04/05 15:26:08 minskim Exp $
+$NetBSD: distinfo,v 1.4 2018/05/12 12:01:26 maya 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) = 2dabaec2dd7dc23a5fd56fd01647670845145675
+SHA1 (patch-tests_test__common.h) = 84e330c5b269ef80ad827f39dc7f4a9470faa36f

Index: pkgsrc/devel/blosc/patches/patch-tests_test__common.h
diff -u pkgsrc/devel/blosc/patches/patch-tests_test__common.h:1.1 pkgsrc/devel/blosc/patches/patch-tests_test__common.h:1.2
--- pkgsrc/devel/blosc/patches/patch-tests_test__common.h:1.1   Thu Apr  5 09:33:48 2018
+++ pkgsrc/devel/blosc/patches/patch-tests_test__common.h       Sat May 12 12:01:26 2018
@@ -1,10 +1,18 @@
-$NetBSD: patch-tests_test__common.h,v 1.1 2018/04/05 09:33:48 jperkin Exp $
+$NetBSD: patch-tests_test__common.h,v 1.2 2018/05/12 12:01:26 maya Exp $
 
 Use posix_memalign on SunOS with __EXTENSIONS__.
+Try the __STDC_VERSION__ check for C11 for everyone, not just freebsd.
 
 --- 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
+@@ -62,13 +62,13 @@ static void* blosc_test_malloc(const siz
+   void *block = NULL;
+   int32_t res = 0;
+ 
+-#if defined(_ISOC11_SOURCE) || (defined(__FreeBSD__) && __STDC_VERSION__ >= 201112L)
++#if defined(_ISOC11_SOURCE) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L)
+   /* C11 aligned allocation. 'size' must be a multiple of the alignment. */
+   block = aligned_alloc(alignment, size);
  #elif defined(_WIN32)
    /* A (void *) cast needed for avoiding a warning with MINGW :-/ */
    block = (void *)_aligned_malloc(size, alignment);



Home | Main Index | Thread Index | Old Index