diff options
author | Erich Eckner <git@eckner.net> | 2021-05-17 23:39:00 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-05-17 23:39:00 +0200 |
commit | 8c6bfbf5152c90533ce8c79b6ce91a36f43f31cb (patch) | |
tree | c6da00487faf91a270136cc83757a62403d5325f | |
parent | d1f6a35ec4e445623cb6e80d9f000744d7278d9f (diff) | |
download | archlinuxewe-8c6bfbf5152c90533ce8c79b6ce91a36f43f31cb.tar.xz |
dnsdist: patch for gcc11
-rw-r--r-- | dnsdist/PKGBUILD | 11 | ||||
-rw-r--r-- | dnsdist/gcc11.patch | 10 |
2 files changed, 19 insertions, 2 deletions
diff --git a/dnsdist/PKGBUILD b/dnsdist/PKGBUILD index e3eeb0ad8..628332c95 100644 --- a/dnsdist/PKGBUILD +++ b/dnsdist/PKGBUILD @@ -10,10 +10,12 @@ arch=('x86_64') url='https://dnsdist.org/' license=('GPL2') source=(https://downloads.powerdns.com/releases/${pkgname}-${_pkgver}.tar.bz2{,.asc} - sysusers.conf) + sysusers.conf + gcc11.patch) sha512sums=('f6a1676c431d5622af075bc184c9f82b4ea0bb40ec84797a8fe835804f91bc0a93a745495f193bb52f3a5204ec0e98ed41bc206c997d1f5b13e872bb31747b0f' 'SKIP' - 'd55ccd612cbe08b353815027d30a3b0f0ec7bf6b0d74a0a634939be53ce6e6b41d23e54c2328946f00738c03e9f306ce4f2dabe5e4b11d9fb28d0abf49917893') + 'd55ccd612cbe08b353815027d30a3b0f0ec7bf6b0d74a0a634939be53ce6e6b41d23e54c2328946f00738c03e9f306ce4f2dabe5e4b11d9fb28d0abf49917893' + '97d12dd51ccb338fe0a907e684333936596501fdb316bdcddc7616ea723e6dfc9ca3ca3e479d17d14b317a0668658eac6fcb72e343919c0a2dea3ea99d34485d') validpgpkeys=('D6300CABCBF469BBE392E503A208ED4F8AF58446') # Remi Gacogne <remi.gacogne@powerdns.com> makedepends=('boost' 'systemd') _pinned_dependencies=( @@ -34,6 +36,11 @@ _pinned_dependencies=( ) depends=('h2o' "${_pinned_dependencies[@]}") +prepare() { + cd "${pkgname}-${_pkgver}" + patch -p1 -i "${srcdir}/gcc11.patch" +} + build() { cd "${pkgname}-${_pkgver}" ./configure \ diff --git a/dnsdist/gcc11.patch b/dnsdist/gcc11.patch new file mode 100644 index 000000000..d59da9537 --- /dev/null +++ b/dnsdist/gcc11.patch @@ -0,0 +1,10 @@ +--- dnsdist-1.6.0/lock.hh 2021-05-17 23:30:36.284654809 +0200 ++++ dnsdist-1.6.0/lock.hh 2021-05-17 23:29:56.689998795 +0200 +@@ -21,6 +21,7 @@ + */ + #pragma once + #include <shared_mutex> ++#include <mutex> + + class ReadWriteLock + { |