Update c++gsl to version 3.1.0

Pkgsrc changes:
Add buildlink3.mk

Changes:
CMake find_package support.
gsl::span and gsl::span_iterator that align with the c++20 standard.
Fix bug in gsl::narrow.
This commit is contained in:
nros 2022-01-23 20:34:46 +00:00
parent b7d1b90091
commit bb10cb85dd
4 changed files with 23 additions and 7 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.1 2018/07/20 11:32:25 minskim Exp $
# $NetBSD: Makefile,v 1.2 2022/01/23 20:34:46 nros Exp $
DISTNAME= GSL-1.0.0
DISTNAME= GSL-3.1.0
PKGNAME= c++${DISTNAME:tl}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=Microsoft/}

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.1 2018/07/20 11:32:25 minskim Exp $
@comment $NetBSD: PLIST,v 1.2 2022/01/23 20:34:46 nros Exp $
include/gsl/gsl
include/gsl/gsl_algorithm
include/gsl/gsl_assert
@ -7,4 +7,7 @@ include/gsl/gsl_util
include/gsl/multi_span
include/gsl/pointers
include/gsl/span
include/gsl/span_ext
include/gsl/string_span
share/cmake/Microsoft.GSL/Microsoft.GSLConfig.cmake
share/cmake/Microsoft.GSL/Microsoft.GSLConfigVersion.cmake

View file

@ -0,0 +1,13 @@
# $NetBSD: buildlink3.mk,v 1.1 2022/01/23 20:34:46 nros Exp $
BUILDLINK_TREE+= c++gsl
.if !defined(C++GSL_BUILDLINK3_MK)
C++GSL_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.c++gsl+= c++gsl>=3.1.0
BUILDLINK_PKGSRCDIR.c++gsl?= ../../devel/c++gsl
BUILDLINK_DEPMETHOD.c++gsl?= build
.endif # C++GSL_BUILDLINK3_MK
BUILDLINK_TREE+= -c++gsl

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.3 2021/10/26 10:14:22 nia Exp $
$NetBSD: distinfo,v 1.4 2022/01/23 20:34:46 nros Exp $
BLAKE2s (GSL-1.0.0.tar.gz) = 573a5f6588af4c725ac21bc029750c1470961a642576bfd9e9a2b899040006f1
SHA512 (GSL-1.0.0.tar.gz) = cde55df9540fd08ca8d29a74b2cff360686aa75b01ee1c48bd9782a2d70d1b6eae712a51eaf9b60453f859e466df00345b0a2893137d16490cea8ee54362f7da
Size (GSL-1.0.0.tar.gz) = 58920 bytes
BLAKE2s (GSL-3.1.0.tar.gz) = 4d67277e3a30feb94ccacc0939e5abb9f111dbdc594a78f69b0c0346e0bf8fe1
SHA512 (GSL-3.1.0.tar.gz) = 2916df9ee165fc803ffae0a56518f2ba92870e279984913ff591559e1459943c3ffbc1f5a0d819ad8233f0c9034012de3616aa4e10557d87c7285d8425d10696
Size (GSL-3.1.0.tar.gz) = 78196 bytes