Package: pirs / 2.0.2+dfsg-11

gcc-12.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Andreas Tille <tille@debian.org>
Last-Update: Thu, 04 Aug 2022 11:55:24 +0200
Bug-Debian: https://bugs.debian.org/1016281
Description: Fix error: ‘time’ was not declared in this scope

--- a/src/pirs/pirs_diploid.cpp
+++ b/src/pirs/pirs_diploid.cpp
@@ -5,6 +5,7 @@
 #include <stdlib.h>
 #include <string>
 #include <vector>
+#include <ctime>
 
 #include "Random.h"
 #include "util.h"