aboutsummaryrefslogtreecommitdiff
path: root/games/glob2/SConstruct_boost.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games/glob2/SConstruct_boost.patch')
-rw-r--r--games/glob2/SConstruct_boost.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/games/glob2/SConstruct_boost.patch b/games/glob2/SConstruct_boost.patch
new file mode 100644
index 000000000000..0867016d6f1b
--- /dev/null
+++ b/games/glob2/SConstruct_boost.patch
@@ -0,0 +1,17 @@
+--- glob2-0.9.4.4/SConstruct.original 2014-04-09 06:25:12.710804438 +0300
++++ glob2-0.9.4.4/SConstruct 2014-04-09 06:47:08.010360930 +0300
+@@ -109,6 +109,14 @@
+ else:
+ print "Could not find libz or zlib1.dll"
+ missing.append("zlib")
++
++ boost_system = ''
++ if conf.CheckLib("boost_system"):
++ boost_system="boost_system"
++ else:
++ print "Could not find libboost_system"
++ missing.append("libboost_system")
++ env.Append(LIBS=[boost_system])
+
+ boost_thread = ''
+ if conf.CheckLib("boost_thread") and conf.CheckCXXHeader("boost/thread/thread.hpp"):