pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/blosc blosc: Assumes the compiler defaults to c9...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5fd015ce36b5
branches:  trunk
changeset: 440940:5fd015ce36b5
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Oct 21 19:44:56 2020 +0000

description:
blosc: Assumes the compiler defaults to c99. Pass -std=c99 with USE_LANGUAGES.

diffstat:

 devel/blosc/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 21bf6573ea88 -r 5fd015ce36b5 devel/blosc/Makefile
--- a/devel/blosc/Makefile      Wed Oct 21 19:43:07 2020 +0000
+++ b/devel/blosc/Makefile      Wed Oct 21 19:44:56 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2020/09/09 07:06:56 adam Exp $
+# $NetBSD: Makefile,v 1.14 2020/10/21 19:44:56 nia Exp $
 
 DISTNAME=      blosc-1.20.1
 CATEGORIES=    devel
@@ -12,7 +12,8 @@
 LICENSE=       modified-bsd
 
 USE_CMAKE=     yes
-USE_LANGUAGES= c c++
+# error: 'for' loop initial declarations are only allowed in C99 mode
+USE_LANGUAGES= c99 c++
 USE_TOOLS+=    pkg-config
 TEST_ENV+=     LD_LIBRARY_PATH=${WRKSRC}/blosc
 TEST_TARGET=   test



Home | Main Index | Thread Index | Old Index