slackbuilds/academic/bpp-core/gcc11.patch

14 lines
348 B
Diff

Description: Including limits lib to fix gcc-11 FTBFS
Author: Nilesh Patra <nilesh@debian.org>
Last-Update: 2021-04-15
--- a/src/Bpp/Graph/GlobalGraph.cpp
+++ b/src/Bpp/Graph/GlobalGraph.cpp
@@ -42,6 +42,7 @@
#include <sstream>
#include <string>
#include <vector>
+#include <limits>
#include "../Exceptions.h"
#include "../Text/TextTools.h"