gentoo-ebuilds/net-misc/apt-cacher-ng/files/apt-cacher-ng-3.7.4-gcc14.patch
Sam James 10d8adb74b
net-misc/apt-cacher-ng: append GCC 14 patch
Add another <algorithm> include.

Closes: https://bugs.gentoo.org/932676
Signed-off-by: Sam James <sam@gentoo.org>
2024-11-19 15:10:47 +00:00

49 lines
838 B
Diff

--- a/src/aconnect.cc
+++ b/src/aconnect.cc
@@ -6,6 +6,7 @@
#include "debug.h"
#include "portutils.h"
+#include <algorithm>
#include <future>
#include <sys/types.h>
--- a/src/acregistry.cc
+++ b/src/acregistry.cc
@@ -5,6 +5,7 @@
#include "cleaner.h"
#include "evabase.h"
+#include <algorithm>
#include <list>
#define IN_ABOUT_ONE_DAY 100000
--- a/src/caddrinfo.cc
+++ b/src/caddrinfo.cc
@@ -1,5 +1,6 @@
#include "meta.h"
+#include <algorithm>
#include <deque>
#include <memory>
#include <list>
--- a/src/header.cc
+++ b/src/header.cc
@@ -10,6 +10,7 @@
#include "filereader.h"
#include "httpdate.h"
+#include <algorithm>
#include <map>
#include <iostream>
--- a/fs/httpfs.cc
+++ b/fs/httpfs.cc
@@ -38,6 +38,7 @@
#include <dlfcn.h>
#endif
+#include <algorithm>
#include <list>
#include <unordered_map>