summaryrefslogtreecommitdiffstats
path: root/graphics/LDView/LDView_boost15.patch
diff options
context:
space:
mode:
author Niels Horn <niels.horn@gmail.com>2013-11-20 19:22:19 -0600
committer Robby Workman <rworkman@slackbuilds.org>2013-11-20 19:22:19 -0600
commit5ee5750d3b9945226a4c331980dcd2c5e8200227 (patch)
tree32a3a0e3e77d2ea3abaa3ecc8fbc81bf88ca18f5 /graphics/LDView/LDView_boost15.patch
parentf93175a14253e4f29de140176894672d92a5e1da (diff)
downloadslackbuilds-5ee5750d3b9945226a4c331980dcd2c5e8200227.tar.gz
slackbuilds-5ee5750d3b9945226a4c331980dcd2c5e8200227.tar.xz
graphics/LDView: Go back to version 4.1 and build correctly
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/LDView/LDView_boost15.patch')
-rw-r--r--graphics/LDView/LDView_boost15.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/graphics/LDView/LDView_boost15.patch b/graphics/LDView/LDView_boost15.patch
new file mode 100644
index 0000000000..df60eb4615
--- /dev/null
+++ b/graphics/LDView/LDView_boost15.patch
@@ -0,0 +1,33 @@
+--- LDView-4.1/LDLib/LDLibraryUpdater.cpp 2009-12-01 16:42:55.000000000 -0200
++++ LDView-4.1_patched/LDLib/LDLibraryUpdater.cpp 2013-11-20 20:39:36.003276476 -0200
+@@ -1183,7 +1183,7 @@
+ // it to signal.
+ boost::xtime xt;
+
+- boost::xtime_get(&xt, boost::TIME_UTC);
++ boost::xtime_get(&xt, boost::TIME_UTC_);
+ xt.nsec += 250 * 1000 * 1000;
+ m_threadFinish->timed_wait(lock, xt);
+ }
+--- LDView-4.1/TCFoundation/TCWebClient.cpp 2009-04-03 13:34:55.000000000 -0300
++++ LDView-4.1_patched/TCFoundation/TCWebClient.cpp 2013-11-20 20:39:13.900470975 -0200
+@@ -118,7 +118,7 @@
+ #else // _OSMESA
+ boost::xtime xt;
+
+- boost::xtime_get(&xt, boost::TIME_UTC);
++ boost::xtime_get(&xt, boost::TIME_UTC_);
+ xt.sec += sec;
+ boost::thread::sleep(xt);
+ #endif // _OSMESA
+--- LDView-4.1/TRE/TREMainModel.cpp 2009-11-09 22:10:29.000000000 -0200
++++ LDView-4.1_patched/TRE/TREMainModel.cpp 2013-11-20 20:39:50.523148711 -0200
+@@ -779,7 +779,7 @@
+ #ifdef ANTI_DEADLOCK_HACK
+ boost::xtime xt;
+
+- boost::xtime_get(&xt, boost::TIME_UTC);
++ boost::xtime_get(&xt, boost::TIME_UTC_);
+ // 100,000,000 nsec == 100 msec
+ xt.nsec += 100 * 1000000;
+ // HACK: If any deadlocks are encountered during testing,