[arch-commits] Commit in openmw/trunk (PKGBUILD openmw-0.46.0-missing-include.patch)

Jelle van der Waa jelle at archlinux.org
Tue Nov 10 17:43:36 UTC 2020


    Date: Tuesday, November 10, 2020 @ 17:43:35
  Author: jelle
Revision: 749710

Add boost-1.74 compatibility patch

Added:
  openmw/trunk/openmw-0.46.0-missing-include.patch
Modified:
  openmw/trunk/PKGBUILD

-------------------------------------+
 PKGBUILD                            |   11 +++++++++--
 openmw-0.46.0-missing-include.patch |   19 +++++++++++++++++++
 2 files changed, 28 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-10 17:32:44 UTC (rev 749709)
+++ PKGBUILD	2020-11-10 17:43:35 UTC (rev 749710)
@@ -10,9 +10,16 @@
 license=('GPL3' 'MIT' 'custom')
 depends=('openal' 'openscenegraph' 'mygui' 'bullet' 'qt5-base' 'ffmpeg' 'sdl2' 'unshield' 'libxt')
 makedepends=('cmake' 'boost' 'doxygen' 'ninja' 'git')
-source=("git+https://github.com/OpenMW/openmw.git#tag=openmw-$pkgver")
-sha512sums=('SKIP')
+source=("git+https://github.com/OpenMW/openmw.git#tag=openmw-$pkgver"
+        openmw-0.46.0-missing-include.patch)
+sha512sums=('SKIP'
+            'd0d47fe249e8fb366e00e272dc62853f8a2aaa75d45d83d270891e76674c1382fd3405e674e3b6c383bbc17125c4471893e77251744deae4d17bc373d847a638')
 
+prepare() {
+  cd openmw
+  patch -Np1 -i ${srcdir}/openmw-0.46.0-missing-include.patch
+}
+
 build() {
   cd openmw
   cmake . \

Added: openmw-0.46.0-missing-include.patch
===================================================================
--- openmw-0.46.0-missing-include.patch	                        (rev 0)
+++ openmw-0.46.0-missing-include.patch	2020-11-10 17:43:35 UTC (rev 749710)
@@ -0,0 +1,19 @@
+Fixes build on ~arch system, patch from upstream, to be dropped for 0.47
+
+From 10daadefbea1f62a818c339dc7f3d69a858bc8a6 Mon Sep 17 00:00:00 2001
+From: elsid <elsid.mail at gmail.com>
+Date: Thu, 30 Apr 2020 21:57:22 +0200
+Subject: [PATCH] Add missing include
+
+diff --git a/components/detournavigator/offmeshconnectionsmanager.hpp b/components/detournavigator/offmeshconnectionsmanager.hpp
+index 30d7976aec..155ce32963 100644
+--- a/components/detournavigator/offmeshconnectionsmanager.hpp
++++ b/components/detournavigator/offmeshconnectionsmanager.hpp
+@@ -13,6 +13,7 @@
+ 
+ #include <boost/optional.hpp>
+ 
++#include <algorithm>
+ #include <map>
+ #include <mutex>
+ #include <unordered_map>



More information about the arch-commits mailing list