[arch-commits] Commit in springlobby/trunk (PKGBUILD springlobby-wxgtk-3.1.patch)
Antonio Rojas
arojas at archlinux.org
Tue Mar 26 07:48:53 UTC 2019
Date: Tuesday, March 26, 2019 @ 07:48:53
Author: arojas
Revision: 443540
wxgtk 3.1 rebuild
Added:
springlobby/trunk/springlobby-wxgtk-3.1.patch
Modified:
springlobby/trunk/PKGBUILD
-----------------------------+
PKGBUILD | 13 ++++++++++---
springlobby-wxgtk-3.1.patch | 11 +++++++++++
2 files changed, 21 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-26 07:37:28 UTC (rev 443539)
+++ PKGBUILD 2019-03-26 07:48:53 UTC (rev 443540)
@@ -3,7 +3,7 @@
pkgname=springlobby
pkgver=0.267
-pkgrel=3
+pkgrel=4
pkgdesc="A free cross-platform lobby client for the Spring RTS project"
arch=('x86_64')
url="http://springlobby.info/"
@@ -12,9 +12,16 @@
'alure' 'libsm')
optdepends=('sdl' 'sdl_sound' 'sdl_mixer')
makedepends=('boost' 'cmake')
-source=(https://springlobby.info/tarballs/springlobby-${pkgver}.tar.bz2)
-sha512sums=('6127bd7377f9a843b23df6dae7a07af1122f6ec5fa13cd8d16c0c7a3cc84e1f7af2fb7df929f904ee0b4e3abf12ae1e525ffb39b2afa0215433209054cf0de5f')
+source=(https://springlobby.info/tarballs/springlobby-${pkgver}.tar.bz2
+ springlobby-wxgtk-3.1.patch)
+sha512sums=('6127bd7377f9a843b23df6dae7a07af1122f6ec5fa13cd8d16c0c7a3cc84e1f7af2fb7df929f904ee0b4e3abf12ae1e525ffb39b2afa0215433209054cf0de5f'
+ 'bf70703c5f001bfc92699d4c21e6ca63b35994319f1096e50b07dba4ceb48cd7d67798fa1668c3c654b0372465a5ad383d9cbae9488f08dea6d78dee8901d418')
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 -i ../springlobby-wxgtk-3.1.patch # Fix build with wxgtk 3.1
+}
+
build() {
cd $srcdir/${pkgname}-${pkgver}
Added: springlobby-wxgtk-3.1.patch
===================================================================
--- springlobby-wxgtk-3.1.patch (rev 0)
+++ springlobby-wxgtk-3.1.patch 2019-03-26 07:48:53 UTC (rev 443540)
@@ -0,0 +1,11 @@
+--- springlobby-0.267/src/springsettings/tab_abstract.cpp.orig 2019-03-26 07:45:27.981903360 +0000
++++ springlobby-0.267/src/springsettings/tab_abstract.cpp 2019-03-26 07:45:42.628735154 +0000
+@@ -95,7 +95,7 @@
+ {
+ try {
+ //special treatment for resolution that'll set proper defaults for res
+- wxDisplay display(0);
++ wxDisplay display(0U);
+ // wxRect display_rect ( display.GetGeometry() );
+ // const int current_x_res = LSL::susynclib().GetSpringConfigInt(RC_TEXT[0].key,display_rect.width);
+ // const int current_y_res = LSL::susynclib().GetSpringConfigInt(RC_TEXT[1].key,display_rect.height);
More information about the arch-commits
mailing list