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:   nia
Date:           Sun Oct 25 04:33:27 UTC 2020

Modified Files:
        pkgsrc/devel/blosc: Makefile

Log Message:
blosc: Set _POSIX_C_SOURCE for posix_memalign


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/blosc/Makefile

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.14 pkgsrc/devel/blosc/Makefile:1.15
--- pkgsrc/devel/blosc/Makefile:1.14    Wed Oct 21 19:44:56 2020
+++ pkgsrc/devel/blosc/Makefile Sun Oct 25 04:33:27 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2020/10/21 19:44:56 nia Exp $
+# $NetBSD: Makefile,v 1.15 2020/10/25 04:33:27 nia Exp $
 
 DISTNAME=      blosc-1.20.1
 CATEGORIES=    devel
@@ -23,6 +23,9 @@ CMAKE_ARGS+=  -DPREFER_EXTERNAL_SNAPPY=ON
 CMAKE_ARGS+=   -DPREFER_EXTERNAL_ZLIB=ON
 CMAKE_ARGS+=   -DPREFER_EXTERNAL_ZSTD=ON
 
+# Needed to use posix_memalign, see tests/test_common.h
+CFLAGS+=       -D_POSIX_C_SOURCE=200112
+
 CFLAGS.SunOS+= -D__EXTENSIONS__
 
 PKGCONFIG_OVERRIDE+=   blosc.pc.in



Home | Main Index | Thread Index | Old Index