summaryrefslogtreecommitdiff
path: root/media-libs/libsub/files/libsub-9999-boost.patch
blob: 347610f58545fc844a7cc1f61ea70bde18cc7287 (plain)
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
--- libsub-9999/test/dcp_reader_test.cc
+++ libsub-9999/test/dcp_reader_test.cc
@@ -19,6 +19,7 @@
 
 #include "interop_dcp_reader.h"
 #include "collect.h"
+#include <boost/optional/optional_io.hpp>
 #include <boost/test/unit_test.hpp>
 #include <fstream>
 #include <iostream>
--- libsub-9999/test/wscript
+++ libsub-9999/test/wscript
@@ -17,7 +17,7 @@
 def build(bld):
     obj = bld(features='cxx cxxprogram')
     obj.name   = 'tests'
-    obj.uselib = 'BOOST_TEST DCP CXML'
+    obj.uselib = 'BOOST_TEST BOOST_FILESYSTEM DCP CXML'
     obj.use    = 'libsub-1.0'
     obj.source = """
                  dcp_reader_test.cc
--- libsub-9999/tools/wscript
+++ libsub-9999/tools/wscript
@@ -1,6 +1,6 @@
 def build(bld):
     obj = bld(features = 'cxx cxxprogram')
     obj.use = ['libsub-1.0']
-    obj.uselib = 'OPENJPEG DCP CXML'
+    obj.uselib = 'OPENJPEG DCP CXML BOOST_FILESYSTEM'
     obj.source = 'dumpsubs.cc'
     obj.target = 'dumpsubs'