[arch-commits] Commit in performous/trunk (PKGBUILD performous-boost-1.73.patch)
Evangelos Foutras
foutrelis at archlinux.org
Mon Dec 7 00:04:08 UTC 2020
Date: Monday, December 7, 2020 @ 00:04:07
Author: foutrelis
Revision: 771336
Fix build with boost 1.73 (patch by loqs)
Added:
performous/trunk/performous-boost-1.73.patch
Modified:
performous/trunk/PKGBUILD
-----------------------------+
PKGBUILD | 7 +++++--
performous-boost-1.73.patch | 26 ++++++++++++++++++++++++++
2 files changed, 31 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-06 23:59:48 UTC (rev 771335)
+++ PKGBUILD 2020-12-07 00:04:07 UTC (rev 771336)
@@ -16,13 +16,15 @@
performous-libswresample.patch
performous-opencv4.patch
performous-boost-1.69.patch
- performous-boost-1.70.patch)
+ performous-boost-1.70.patch
+ performous-boost-1.73.patch)
sha512sums=('6659aa03960e68d7af65b072e179e42b122d2a39d25229c6daf765146379a115a52e51c1dc2bc69081ea17fe7a22f1d7007b7cf9e09bc32d134c3ad8e3444dd1'
'dde4ac66d92a5a269237abb27fc5140bf87fd07b1d1e333d0e47c13b05a66b08347883380a575f0635c871236519710e791d99d3bd06700dd48341f5e50fd8b1'
'f85b9a5c1b1bf0f1f5df7fb13945856cbca19bc5e49e3bb6f3cff302110b08275e97496ec70f23a8e9c77246b92ddde826520000888d6a4c2e888a8bae311f17'
'854d969de951a5f380ddd1523b3d66639ef19b16af161466dfef3c697280c95884a3e34258dc86bb7eef1143ca24de44ae2dfccb5ce76fd333784b62f0762f56'
'6e2d619ba55294ad901f84e3d3a30fe08f092521b4e19041ce4eb19dddc3d8021dfd5697947489a8312246c71ff7b544af4562fa4dfc744f9c27c7bc59b8e9bd'
- '7a4a11f0150930ea0527067519487629e714bc732eb111c1d4ca9b13cd8d0775182b22f8a96093223f7aab8524f63bdf901886169e6559adcd5e6b6a9b14edb4')
+ '7a4a11f0150930ea0527067519487629e714bc732eb111c1d4ca9b13cd8d0775182b22f8a96093223f7aab8524f63bdf901886169e6559adcd5e6b6a9b14edb4'
+ 'd291621b191c0e55a47232e63a75d4059e2a983c78f9ad7d3a9709293fe22486f307d641ccecf2f0a56ff784b8a3cb6be35a531cb8adf5d35ff2ee3d333d5c40')
prepare() {
cd performous-${pkgver}
@@ -31,6 +33,7 @@
patch -p1 -i ../performous-opencv4.patch # Fix build with openCV 4
patch -p1 -i ../performous-boost-1.69.patch # Fix build with boost 1.69
patch -p1 -i ../performous-boost-1.70.patch # Fix build with boost 1.70
+ patch -p1 -i ../performous-boost-1.73.patch # Fix build with boost 1.73
}
build() {
Added: performous-boost-1.73.patch
===================================================================
--- performous-boost-1.73.patch (rev 0)
+++ performous-boost-1.73.patch 2020-12-07 00:04:07 UTC (rev 771336)
@@ -0,0 +1,26 @@
+diff --git a/game/engine.cc b/game/engine.cc
+index 9f0f7ef..560ce71 100644
+--- a/game/engine.cc
++++ b/game/engine.cc
+@@ -8,6 +8,8 @@
+ #include <iostream>
+ #include <list>
+
++using namespace boost::placeholders;
++
+ const double Engine::TIMESTEP = 0.01;
+
+ Engine::Engine(Audio& audio, VocalTrackPtrs vocals, Database& database):
+diff --git a/game/surface.cc b/game/surface.cc
+index 75356fe..34951f9 100644
+--- a/game/surface.cc
++++ b/game/surface.cc
+@@ -16,6 +16,8 @@
+
+ using std::uint32_t;
+
++using namespace boost::placeholders;
++
+ Shader& getShader(std::string const& name) {
+ return Game::getSingletonPtr()->window().shader(name); // FIXME
+ }
\ No newline at end of file
More information about the arch-commits
mailing list