app-backup/snapper: fix build w/ boost 1.81

Closes: https://bugs.gentoo.org/886505
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-12-18 05:22:49 +00:00
parent d19b43610d
commit d1c3c68790
2 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
https://bugs.gentoo.org/886505
https://github.com/openSUSE/snapper/commit/0f8a3dff903eeb30072b9b9809cf072d3c84d1fc
From 0f8a3dff903eeb30072b9b9809cf072d3c84d1fc Mon Sep 17 00:00:00 2001
From: Arvin Schnell <aschnell@suse.de>
Date: Tue, 15 Nov 2022 14:39:29 +0100
Subject: [PATCH] - fix build with boost 1.81
--- a/zypp-plugin/snapper-zypp-plugin.cc
+++ b/zypp-plugin/snapper-zypp-plugin.cc
@@ -30,6 +30,7 @@
#include <iostream>
#include <map>
+#include <set>
#include <string>
#include <regex>

View File

@@ -38,6 +38,7 @@ DEPEND="${RDEPEND}
PATCHES=(
"${FILESDIR}"/cron-confd.patch
"${FILESDIR}"/${PN}-0.10.1-testsuite.patch
"${FILESDIR}"/${P}-boost-1.81.patch
)
src_prepare() {