pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/powerdns



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Jul 14 11:49:26 UTC 2023

Modified Files:
        pkgsrc/net/powerdns: distinfo
Added Files:
        pkgsrc/net/powerdns/patches: patch-pdns_lock.hh

Log Message:
powerdns: include stdexcept for std::runtime_error. Spotted in the SunOS
bulk build.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 pkgsrc/net/powerdns/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/powerdns/patches/patch-pdns_lock.hh

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

Modified files:

Index: pkgsrc/net/powerdns/distinfo
diff -u pkgsrc/net/powerdns/distinfo:1.48 pkgsrc/net/powerdns/distinfo:1.49
--- pkgsrc/net/powerdns/distinfo:1.48   Wed Dec 28 18:24:53 2022
+++ pkgsrc/net/powerdns/distinfo        Fri Jul 14 11:49:26 2023
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.48 2022/12/28 18:24:53 otis Exp $
+$NetBSD: distinfo,v 1.49 2023/07/14 11:49:26 nia Exp $
 
 BLAKE2s (pdns-4.6.4.tar.bz2) = 4c29e8ea41013fb06790da5c9c4ac8460b2e27acbd713508bbd80832e9f1bf80
 SHA512 (pdns-4.6.4.tar.bz2) = b05c880e1dad7cf83cb17d74c331206487bea14d7f56bc21a70d65ad2704ce71258ff055f3008fb5af2c8cfc4fbd7d09333c47c046ca306d3fdb307f203230b5
@@ -7,5 +7,6 @@ SHA1 (patch-configure) = 2635c2e5c22c419
 SHA1 (patch-ext_json11_json11.cpp) = 3f8f4518ebd807a064e83572385ea5456fc7e81f
 SHA1 (patch-pdns_dnsscope.cc) = b289b750686b25041c3e291fb0d3d562beb36eaf
 SHA1 (patch-pdns_iputils.cc) = 06b58c59034454b2c6788f28d412215ca801c5cf
+SHA1 (patch-pdns_lock.hh) = c4a5c59955b808c7a04700b32a39235dc0888285
 SHA1 (patch-pdns_qtype.hh) = 7bf40a1ace0525c6611967985fe45951eb57957e
 SHA1 (patch-pdns_version.cc) = 25917c329dafa34e657fa31c7a9abd99110bb4b0

Added files:

Index: pkgsrc/net/powerdns/patches/patch-pdns_lock.hh
diff -u /dev/null pkgsrc/net/powerdns/patches/patch-pdns_lock.hh:1.1
--- /dev/null   Fri Jul 14 11:49:26 2023
+++ pkgsrc/net/powerdns/patches/patch-pdns_lock.hh      Fri Jul 14 11:49:26 2023
@@ -0,0 +1,19 @@
+$NetBSD: patch-pdns_lock.hh,v 1.1 2023/07/14 11:49:26 nia Exp $
+
+lock.hh:235:18: error: 'runtime_error' is not a member of 'std'
+  235 |       throw std::runtime_error("Trying to access data protected by a mutex while the lock has not been acquired");
+      |                  ^~~~~~~~~~~~~
+lock.hh:25:1: note: 'std::runtime_error' is defined in header '<stdexcept>'; did you forget to '#include <stdexcept>'?
+   24 | #include <shared_mutex>
+  +++ |+#include <stdexcept>
+
+--- pdns/lock.hh.orig  2022-12-08 18:36:25.000000000 +0000
++++ pdns/lock.hh
+@@ -22,6 +22,7 @@
+ #pragma once
+ #include <mutex>
+ #include <shared_mutex>
++#include <stdexcept>
+ 
+ /*
+   This file provides several features around locks:



Home | Main Index | Thread Index | Old Index