summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Schmidt2018-09-06 01:07:11 +0200
committerStefan Schmidt2018-09-06 01:09:13 +0200
commit8ee8b902dad843a1b750d9851d7c89d7b0f71eae (patch)
tree7bc90b609fde55e14c382ccc0e913836b8a513ff
parentc73386d10e5d0b1fe0a292b1dfd4904a4a19a30d (diff)
downloadaur-8ee8b902dad843a1b750d9851d7c89d7b0f71eae.tar.gz
Added PoE patch
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
-rw-r--r--poe-fix.patch10
3 files changed, 17 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cc6ec5df3cb..780aef1e7fe 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = wine-staging-pba
pkgdesc = A compatibility layer for running Windows programs - Staging branch with PBA patches
pkgver = 3.15
- pkgrel = 1
+ pkgrel = 2
url = http://www.wine-staging.com
install = wine.install
arch = x86_64
@@ -149,6 +149,7 @@ pkgbase = wine-staging-pba
source = 30-win32-aliases.conf
source = wine-binfmt.conf
source = steam.patch
+ source = poe-fix.patch
source = pba-patches::git+https://github.com/Firerat/wine-pba.git
validpgpkeys = 5AC1A08B03BD7A313E0A955AF5E6E9EEB9461DD7
validpgpkeys = DA23579A74D4AD9AF9D3F945CEFAC8EAAF17519D
@@ -159,6 +160,7 @@ pkgbase = wine-staging-pba
sha512sums = 6e54ece7ec7022b3c9d94ad64bdf1017338da16c618966e8baf398e6f18f80f7b0576edf1d1da47ed77b96d577e4cbb2bb0156b0b11c183a0accf22654b0a2bb
sha512sums = bdde7ae015d8a98ba55e84b86dc05aca1d4f8de85be7e4bd6187054bfe4ac83b5a20538945b63fb073caab78022141e9545685e4e3698c97ff173cf30859e285
sha512sums = f3e42a0720777256ca583f96044f6482aae8f4c707189104216f86f6c7a1b68a186c5124c72866229d46eb66c20c555ba9f32a230ec50f968faa8a12b8372b0a
+ sha512sums = 7d2bb6d6be62405111e7a573471edb3d8114b12844cdd2581af1a6c87940cf62104156d9c80090fb980f9009a0903d25fbe3cdb9a7efbe81c0ad64fe24937112
sha512sums = SKIP
pkgname = wine-staging-pba
diff --git a/PKGBUILD b/PKGBUILD
index 08aac302f4b..acfcd9248f8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
pkgname=wine-staging-pba
pkgver=3.15
-pkgrel=1
+pkgrel=2
_pkgbasever=${pkgver/rc/-rc}
@@ -18,6 +18,7 @@ source=(https://dl.winehq.org/wine/source/3.x/wine-$_pkgbasever.tar.xz{,.sign}
30-win32-aliases.conf
wine-binfmt.conf
steam.patch
+ poe-fix.patch
"pba-patches::git+https://github.com/Firerat/wine-pba.git")
sha512sums=('3fb3f6a896eae53ef75a751e72f7431f9b6986b56738dc314bca9eff9d078e65d865ebb28cbb7a63aa571eb11cdaed20c21c36cec565f81610e348fd165e0f2a'
'SKIP'
@@ -26,6 +27,7 @@ sha512sums=('3fb3f6a896eae53ef75a751e72f7431f9b6986b56738dc314bca9eff9d078e65d86
'6e54ece7ec7022b3c9d94ad64bdf1017338da16c618966e8baf398e6f18f80f7b0576edf1d1da47ed77b96d577e4cbb2bb0156b0b11c183a0accf22654b0a2bb'
'bdde7ae015d8a98ba55e84b86dc05aca1d4f8de85be7e4bd6187054bfe4ac83b5a20538945b63fb073caab78022141e9545685e4e3698c97ff173cf30859e285'
'f3e42a0720777256ca583f96044f6482aae8f4c707189104216f86f6c7a1b68a186c5124c72866229d46eb66c20c555ba9f32a230ec50f968faa8a12b8372b0a'
+ '7d2bb6d6be62405111e7a573471edb3d8114b12844cdd2581af1a6c87940cf62104156d9c80090fb980f9009a0903d25fbe3cdb9a7efbe81c0ad64fe24937112'
'SKIP')
validpgpkeys=(5AC1A08B03BD7A313E0A955AF5E6E9EEB9461DD7
DA23579A74D4AD9AF9D3F945CEFAC8EAAF17519D)
@@ -128,6 +130,7 @@ prepare() {
export LDFLAGS="${LDFLAGS/,-z,now/}"
patch -d $pkgname -Np1 < harmony-fix.diff
+ patch -d $pkgname -Np1 < poe-fix.patch
# steam fix
pushd $pkgname
diff --git a/poe-fix.patch b/poe-fix.patch
new file mode 100644
index 00000000000..b1561ced47a
--- /dev/null
+++ b/poe-fix.patch
@@ -0,0 +1,10 @@
+--- a/dlls/ole32/compobj.c
++++ b/dlls/ole32/compobj.c
+@@ -3217,6 +3217,7 @@
+ {
+ MULTI_QI multi_qi = { iid };
+ HRESULT hres;
++ CoInitialize(NULL);
+
+ TRACE("(rclsid=%s, pUnkOuter=%p, dwClsContext=%08x, riid=%s, ppv=%p)\n", debugstr_guid(rclsid),
+ pUnkOuter, dwClsContext, debugstr_guid(iid), ppv);