Accepting request 1000657 from home:susnux:branches:games:tools

Fix i586 build for Factory submission

OBS-URL: https://build.opensuse.org/request/show/1000657
OBS-URL: https://build.opensuse.org/package/show/games:tools/mumble?expand=0&rev=148
This commit is contained in:
Michael Vetter 2022-09-01 14:55:04 +00:00 committed by Git OBS Bridge
parent a9045c100b
commit 68f24c8b3f
3 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,13 @@
diff -Nur mumble-src/plugins/CMakeLists.txt new/plugins/CMakeLists.txt
--- mumble-src/plugins/CMakeLists.txt 2022-08-21 18:52:23.000000000 +0200
+++ new/plugins/CMakeLists.txt 2022-09-01 12:24:10.507433751 +0200
@@ -24,6 +24,9 @@
foreach(ITEM ${ITEMS})
if(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/${ITEM}")
+ if (ITEM STREQUAL "gtav" AND CMAKE_SIZEOF_VOID_P LESS 8)
+ continue()
+ endif()
set(PLUGIN_RETRACTED OFF)
# If the plugin is retracted the corresponding CMakeLists.txt is supposed to set the

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 1 09:11:05 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>
- Add fix-64bit-only-plugins.patch to fix build on i586
-------------------------------------------------------------------
Sun Aug 21 21:03:15 UTC 2022 - Enrico Belleri <idesmi@protonmail.com>

View File

@ -43,6 +43,8 @@ Source3: murmur.apparmor
Source4: https://raw.githubusercontent.com/mumble-voip/mumble-gpg-signatures/master/mumble-auto-build-2022.asc#/%{name}.keyring
Source5: mumble-server.service
Source6: baselibs.conf
# PATCH-FIX-UPSTREAM fix-64bit-only-plugins.patch -- Requires 64bit memory alignment ( https://github.com/mumble-voip/mumble/issues/5849 )
Patch0: fix-64bit-only-plugins.patch
BuildRequires: cmake >= 3.15
BuildRequires: gcc-c++
BuildRequires: libcap-devel