* update openvr to 1.16.8-1

This commit is contained in:
Alexander Baldeck 2021-06-30 11:16:31 +02:00
parent 6006ffb685
commit de3e5df996
2 changed files with 38 additions and 6 deletions

View File

@ -0,0 +1,25 @@
From 75e74794ecfd8cf5f0ba0086eca59ab6041e18c5 Mon Sep 17 00:00:00 2001
From: Christoph Haag <christoph.haag@collabora.com>
Date: Fri, 12 Mar 2021 12:29:02 +0100
Subject: [PATCH] Add #include <stdarg.h> to strtools_public.cpp
Required for va_start and va_end
---
src/vrcommon/strtools_public.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/vrcommon/strtools_public.cpp b/src/vrcommon/strtools_public.cpp
index 3193f7e..10b8419 100644
--- a/src/vrcommon/strtools_public.cpp
+++ b/src/vrcommon/strtools_public.cpp
@@ -10,6 +10,7 @@
#include <functional>
#include <locale>
#include <codecvt>
+#include <stdarg.h>
#if defined( _WIN32 )
#include <windows.h>
--
2.30.2

View File

@ -1,27 +1,34 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Bruno Pagani <archange@archlinux.org>
# Contributor: Christoph Haag <christoph.haag@collabora.com>
pkgname=openvr
pkgver=1.14.15
pkgrel=3
pkgver=1.16.8
pkgrel=1
pkgdesc="API and runtime that allows access to VR hardware from multiple vendors"
arch=(x86_64 powerpc64le)
arch=(x86_64 powerpc64le powerpc)
url="https://github.com/ValveSoftware/openvr"
license=(custom)
depends=(jsoncpp libgl)
makedepends=(cmake)
source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
openvr-fix-vsprintf_s.patch::${url}/pull/594.patch
openvr-use-system-jsoncpp.patch::${url}/pull/1178.patch)
sha256sums=('40644e569f057e86c733d818a22d821c640307e5058d95958414422134d79584'
openvr-use-system-jsoncpp.patch::${url}/pull/1178.patch
openvr-fix-1.6.18-include.patch::${url}/pull/1524.patch
0001-Add-include-stdarg.h-to-strtools_public.cpp.patch)
sha256sums=('387c98c0540f66595c4594e5f3340a1095dd90e954ff14fd5d89cc849ba32d1b'
'29715711e5b28e2ce2934ef21cb5e6cfd05eec7f9d47b3e9b674a6d72ca8623a'
'a230a1f9fdf356766b27e7765fc2929344bd17edc3e7e67eb479cb016a3d8981')
'a230a1f9fdf356766b27e7765fc2929344bd17edc3e7e67eb479cb016a3d8981'
'93a39df6a5d41f87b766cc7ec0fc3e49d6cc97f88b84a642fc26c9fe07cdf54c'
'ccb5672d1ec4ce75c8a15700be17b29f743245db0a015bff4ca8a416c037838b')
prepare() {
cd ${pkgname}-${pkgver}
rm -rf thirdparty/jsoncpp
patch -Np1 -i ../openvr-fix-vsprintf_s.patch
patch -Np1 -i ../openvr-use-system-jsoncpp.patch
patch -Np1 -i ../openvr-fix-1.6.18-include.patch
patch -Np1 -i ../0001-Add-include-stdarg.h-to-strtools_public.cpp.patch
}
build() {