aboutsummaryrefslogtreecommitdiff
path: root/multimedia/aegisub/files/patch-boost-1.69
blob: 3849c63b4d9e9f1376668e1077fdedb0c16e2c3a (plain) (blame)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
https://github.com/Aegisub/Aegisub/issues/93

--- src/colour_button.cpp.orig	2014-12-08 00:07:09 UTC
+++ src/colour_button.cpp
@@ -18,7 +18,12 @@
 
 #include "dialogs.h"
 
+#include <boost/version.hpp>
+#if BOOST_VERSION >= 106900
+#include <boost/gil.hpp>
+#else
 #include <boost/gil/gil_all.hpp>
+#endif
 
 wxDEFINE_EVENT(EVT_COLOR, wxThreadEvent);
 
--- src/subtitles_provider_libass.cpp.orig	2014-12-08 00:07:09 UTC
+++ src/subtitles_provider_libass.cpp
@@ -50,7 +50,12 @@
 #include <libaegisub/util.h>
 
 #include <atomic>
+#include <boost/version.hpp>
+#if BOOST_VERSION >= 106900
+#include <boost/gil.hpp>
+#else
 #include <boost/gil/gil_all.hpp>
+#endif
 #include <memory>
 #include <mutex>
 
--- src/video_frame.cpp.orig	2014-12-08 00:07:09 UTC
+++ src/video_frame.cpp
@@ -16,7 +16,12 @@
 
 #include "video_frame.h"
 
+#include <boost/version.hpp>
+#if BOOST_VERSION >= 106900
+#include <boost/gil.hpp>
+#else
 #include <boost/gil/gil_all.hpp>
+#endif
 #include <wx/image.h>
 
 namespace {
--- src/video_provider_dummy.cpp.orig	2014-12-08 00:07:09 UTC
+++ src/video_provider_dummy.cpp
@@ -46,7 +46,12 @@
 #include <boost/algorithm/string/split.hpp>
 #include <boost/filesystem/path.hpp>
 #include <libaegisub/format.h>
+#include <boost/version.hpp>
+#if BOOST_VERSION >= 106900
+#include <boost/gil.hpp>
+#else
 #include <boost/gil/gil_all.hpp>
+#endif
 
 DummyVideoProvider::DummyVideoProvider(double fps, int frames, int width, int height, agi::Color colour, bool pattern)
 : framecount(frames)