Improve portability with newer libstdc++

This commit is contained in:
joerg 2023-06-08 14:35:46 +00:00
parent aa155f4ead
commit 1b681f7598
3 changed files with 27 additions and 1 deletions

View file

@ -1,5 +1,7 @@
$NetBSD: distinfo,v 1.6 2022/11/28 13:18:23 wiz Exp $
$NetBSD: distinfo,v 1.7 2023/06/08 14:35:46 joerg Exp $
BLAKE2s (rdfind-1.5.0.tar.gz) = c8c290dce6ffca48f614e0d7cafeeada36190a5cf26b58145aad7ee8a861f980
SHA512 (rdfind-1.5.0.tar.gz) = 0ba95e3d9ed4f127d271500c6f36c8945d0c8193fa2719636cc780e56de108e35404d1860edcb2fca2d9a4fb8b09dcd5dab904e55cf0530d664aaf8510be266b
Size (rdfind-1.5.0.tar.gz) = 131167 bytes
SHA1 (patch-Fileinfo.hh) = 006fa7dfcc3dbbceae27da376f46ca2b82d920f9
SHA1 (patch-rdfind.cc) = 858e8fac4fe8f97d290a85b9a8e43f9f943b367b

View file

@ -0,0 +1,12 @@
$NetBSD: patch-Fileinfo.hh,v 1.1 2023/06/08 14:35:46 joerg Exp $
--- Fileinfo.hh.orig 2023-06-01 12:41:44.522906826 +0000
+++ Fileinfo.hh
@@ -8,6 +8,7 @@
#define Fileinfo_hh
#include <array>
+#include <cstdint>
#include <string>
// os specific headers

View file

@ -0,0 +1,12 @@
$NetBSD: patch-rdfind.cc,v 1.1 2023/06/08 14:35:46 joerg Exp $
--- rdfind.cc.orig 2023-06-01 12:40:33.281864990 +0000
+++ rdfind.cc
@@ -9,6 +9,7 @@
// std
#include <algorithm>
#include <iostream>
+#include <limits>
#include <string>
#include <vector>