-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix build https://hydra.nixos.org/build/178237905
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
pkgs/applications/science/logic/potassco/clingcon_limits.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
diff --git i/libclingcon/clingcon/base.hh w/libclingcon/clingcon/base.hh | ||
index 2d449fe..0b5fa17 100644 | ||
--- i/libclingcon/clingcon/base.hh | ||
+++ w/libclingcon/clingcon/base.hh | ||
@@ -28,6 +28,7 @@ | ||
#include <clingo.hh> | ||
#include <optional> | ||
#include <forward_list> | ||
+#include <limits> | ||
|
||
//! @file clingcon/base.hh | ||
//! Basic data types. | ||
diff --git i/libclingcon/clingcon/util.hh w/libclingcon/clingcon/util.hh | ||
index df4cddd..308259e 100644 | ||
--- i/libclingcon/clingcon/util.hh | ||
+++ w/libclingcon/clingcon/util.hh | ||
@@ -30,6 +30,7 @@ | ||
#include <map> | ||
#include <cstdlib> | ||
#include <stdexcept> | ||
+#include <limits> | ||
|
||
//! @file clingcon/util.hh | ||
//! Very general utility functions. |