add patch for missing includes

This commit is contained in:
Sander Hoentjen 2023-02-20 16:45:34 +01:00
parent 4ac7dc710a
commit c42bc7b0dd
No known key found for this signature in database
GPG Key ID: 2D0D0318D5191146
2 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,24 @@
diff --git a/pdns/dnsdist-protocols.hh b/pdns/dnsdist-protocols.hh
index a90e6e0c5..7a6b3184f 100644
--- a/pdns/dnsdist-protocols.hh
+++ b/pdns/dnsdist-protocols.hh
@@ -22,6 +22,7 @@
#pragma once
#include <vector>
+#include <cstdint>
#include <string>
namespace dnsdist
diff --git a/pdns/lock.hh b/pdns/lock.hh
index e8bd82988..a08951a26 100644
--- a/pdns/lock.hh
+++ b/pdns/lock.hh
@@ -22,6 +22,7 @@
#pragma once
#include <mutex>
#include <shared_mutex>
+#include <stdexcept>
/*
This file provides several features around locks:

View File

@ -7,11 +7,12 @@
Name: dnsdist
Version: 1.7.3
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Highly DNS-, DoS- and abuse-aware loadbalancer
License: GPLv2
URL: https://dnsdist.org
Source0: https://downloads.powerdns.com/releases/%{name}-%{version}.tar.bz2
Patch0: dnsdist-1.7.3-includes.patch
ExcludeArch: %{ix86} #1994125
ExcludeArch: armv7hl #1994125
@ -119,6 +120,9 @@ exit 0
%changelog
* Mon Feb 20 2023 Sander Hoentjen <sander@hoentjen.eu> - 1.7.3-3
- add patch for missing includes
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild