forked from ports/contrib
cpptoml: adjust depends on line
This commit is contained in:
parent
47fbe55a60
commit
eedb074d62
@ -1,5 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF35/M7U6ULYWoGHtgfW8y0AmrmFb2p0rCOEeZ2+pjpYxrFt2uPfzVSFgY3sMOLciqwf/4XE90D3yfPfaFQGEVEg4=
|
||||
SHA256 (Pkgfile) = 6d8ac3b23d110e3bb2c02989874bd3d363cc4f979f9eeac0f7523465720a37e5
|
||||
RWSagIOpLGJF39YqsvscX56QEadPLglYdresramF48enlLzZQ33fwj1YVd0RDtb2jKnwbJU3o4FL2RLB8wEXg/92QxjZAqB7FA4=
|
||||
SHA256 (Pkgfile) = aa45dfebe17cae6940ca5a7f5f78a0d658bb6e5098e1e2b923c5c0b3ad3bbb62
|
||||
SHA256 (.footprint) = 45b3ea1446ce8d010435fc2427093930cd920cf30e1443dfe5c2a39990085e54
|
||||
SHA256 (cpptoml-0.1.1.tar.gz) = 23af72468cfd4040984d46a0dd2a609538579c78ddc429d6b8fd7a10a6e24403
|
||||
SHA256 (123.patch) = 889c4307ed34f9089ec5f56f5ffb53ae4730047ada8be013d21cd52f11575287
|
||||
|
21
cpptoml/123.patch
Normal file
21
cpptoml/123.patch
Normal file
@ -0,0 +1,21 @@
|
||||
From c55a516e90133d89d67285429c6474241346d27a Mon Sep 17 00:00:00 2001
|
||||
From: Dirk Eddelbuettel <edd@debian.org>
|
||||
Date: Mon, 30 Nov 2020 09:41:49 -0600
|
||||
Subject: [PATCH] g++-11 requires limits header
|
||||
|
||||
---
|
||||
include/cpptoml.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/include/cpptoml.h b/include/cpptoml.h
|
||||
index 5a00da3..1dc9fd1 100644
|
||||
--- a/include/cpptoml.h
|
||||
+++ b/include/cpptoml.h
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <cstring>
|
||||
#include <fstream>
|
||||
#include <iomanip>
|
||||
+#include <limits>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <sstream>
|
@ -1,16 +1,18 @@
|
||||
# Description: cpptoml is a header-only library for parsing TOML
|
||||
# URL: https://github.com/skystrife/cpptoml
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: cmake
|
||||
# Depends on: cmake ninja
|
||||
|
||||
name=cpptoml
|
||||
version=0.1.1
|
||||
release=1
|
||||
source=(https://github.com/skystrife/cpptoml/archive/v$version/$name-$version.tar.gz)
|
||||
release=2
|
||||
source=(https://github.com/skystrife/cpptoml/archive/v$version/$name-$version.tar.gz
|
||||
123.patch)
|
||||
|
||||
build() {
|
||||
[[ -e /usr/bin/ninja ]] && PKGMK_CPPTOML+=' -G Ninja'
|
||||
cmake -S $name-$version -B build $PKGMK_CPPTOML \
|
||||
patch -Np1 -d $name-$version -i $SRC/123.patch
|
||||
|
||||
cmake -S $name-$version -B build -G Ninja \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user