pkgsrc-WIP-changes archive

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

bifrost: defined(NetBSD) -> defined(__NetBSD__)



Module Name:	pkgsrc-wip
Committed By:	Jason W. Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Sat Mar 16 08:26:37 2024 -0500
Changeset:	18564a97c3bb7a4ef194ffc62c5f9192f320b346

Modified Files:
	bifrost/distinfo
	bifrost/patches/patch-src_strict__fstream.hpp

Log Message:
bifrost: defined(NetBSD) -> defined(__NetBSD__)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=18564a97c3bb7a4ef194ffc62c5f9192f320b346

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 bifrost/distinfo                              | 2 +-
 bifrost/patches/patch-src_strict__fstream.hpp | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs:
diff --git a/bifrost/distinfo b/bifrost/distinfo
index 93bf92128f..74924b512c 100644
--- a/bifrost/distinfo
+++ b/bifrost/distinfo
@@ -5,4 +5,4 @@ SHA512 (bifrost-1.3.5.tar.gz) = 5e29b771a665dc93c523e51d2958dcf3bf4874fd9ac1c71b
 Size (bifrost-1.3.5.tar.gz) = 356701 bytes
 SHA1 (patch-CMakeLists.txt) = b67d3b9da75644d6c414988a1e034f4732d4ab5c
 SHA1 (patch-src_libpopcnt.h) = ebccf4b759d7cbfa25e88f4d1f016791eb87afee
-SHA1 (patch-src_strict__fstream.hpp) = f10f2675e4fa8791b23e051a8b0e43dfc61bf631
+SHA1 (patch-src_strict__fstream.hpp) = d5a215d44bc48030291c7acc5f7550df38821011
diff --git a/bifrost/patches/patch-src_strict__fstream.hpp b/bifrost/patches/patch-src_strict__fstream.hpp
index 2d05dc30cb..a08609dee3 100644
--- a/bifrost/patches/patch-src_strict__fstream.hpp
+++ b/bifrost/patches/patch-src_strict__fstream.hpp
@@ -2,14 +2,14 @@ $NetBSD$
 
 # Add NetBSD support
 
---- src/strict_fstream.hpp.orig	2024-03-16 12:49:36.958623203 +0000
+--- src/strict_fstream.hpp.orig	2024-03-15 15:20:17.000000000 +0000
 +++ src/strict_fstream.hpp
 @@ -64,7 +64,7 @@ static std::string strerror()
      } else {
          return "Unknown error (" + std::to_string(err_num) + ")";
      }
 -#elif ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE) || defined(__APPLE__) || defined(__MUSL__) || defined(__FreeBSD__)
-+#elif ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE) || defined(__APPLE__) || defined(__MUSL__) || defined(__FreeBSD__) || defined(NetBSD)
++#elif ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE) || defined(__APPLE__) || defined(__MUSL__) || defined(__FreeBSD__) || defined(__NetBSD__)
  // XSI-compliant strerror_r()
      const int err_num = errno; // See above
      if (strerror_r(err_num, buff.data(), buff.size()) == 0) {


Home | Main Index | Thread Index | Old Index