Fix missing include for gcc13
This commit is contained in:
parent
b213e1183e
commit
5c76e4f542
21
pdns-gcc13.patch
Normal file
21
pdns-gcc13.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
From d8b4ea24dc5dbe7c53c24bfffba24bcae7f58e02 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Peter van Dijk <peter.van.dijk@powerdns.com>
|
||||||
|
Date: Mon, 23 Jan 2023 14:54:09 +0100
|
||||||
|
Subject: [PATCH] lock.hh: include <stdexcept>
|
||||||
|
|
||||||
|
---
|
||||||
|
pdns/lock.hh | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/pdns/lock.hh b/pdns/lock.hh
|
||||||
|
index e8bd82988da..a08951a266d 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:
|
@ -3,11 +3,12 @@
|
|||||||
|
|
||||||
Name: pdns
|
Name: pdns
|
||||||
Version: 4.7.2
|
Version: 4.7.2
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: A modern, advanced and high performance authoritative-only nameserver
|
Summary: A modern, advanced and high performance authoritative-only nameserver
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://powerdns.com
|
URL: http://powerdns.com
|
||||||
Source0: http://downloads.powerdns.com/releases/%{name}-%{version}.tar.bz2
|
Source0: http://downloads.powerdns.com/releases/%{name}-%{version}.tar.bz2
|
||||||
|
Patch0: pdns-gcc13.patch
|
||||||
ExcludeArch: %{arm} %{ix86}
|
ExcludeArch: %{arm} %{ix86}
|
||||||
|
|
||||||
Requires(pre): shadow-utils
|
Requires(pre): shadow-utils
|
||||||
@ -138,7 +139,7 @@ BuildRequires: yaml-cpp-devel
|
|||||||
This package contains the ixfrdist program.
|
This package contains the ixfrdist program.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CPPFLAGS="-DLDAP_DEPRECATED"
|
export CPPFLAGS="-DLDAP_DEPRECATED"
|
||||||
@ -320,6 +321,9 @@ exit 0
|
|||||||
%{_unitdir}/ixfrdist@.service
|
%{_unitdir}/ixfrdist@.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 23 2023 Morten Stevens <mstevens@fedoraproject.org> - 4.7.2-4
|
||||||
|
- Fix missing include for gcc13
|
||||||
|
|
||||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.2-3
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.2-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user