Package: liborigin2 / 2:20110117-6

30_Fix_FTBFS_Boost174.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Include algorithm for find_if to use it via std, append -g flag for propagating debug information
Author: Nilesh Patra <npatra974@gmail.com>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978216
Forwarded: no, upstream seems to be dead
Last-Update: 2021-01-03
--- a/OriginObj.h
+++ b/OriginObj.h
@@ -33,6 +33,7 @@
 
 #include <string.h>
 #include <vector>
+#include <algorithm>
 #include "boost/variant.hpp"
 #include "boost/bind.hpp"
 #include "boost/date_time/posix_time/ptime.hpp"
--- a/liborigin2.pro
+++ b/liborigin2.pro
@@ -5,6 +5,7 @@
 MOC_DIR      = ./tmp
 OBJECTS_DIR  = ./tmp
 
+QMAKE_CXXFLAGS += -g
 DESTDIR      = ./
 QT     -= gui core
 LIBS   -= -lQtGui -lQtCore