forked from pool/alure
Accepting request 1146928 from games
OBS-URL: https://build.opensuse.org/request/show/1146928 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alure?expand=0&rev=5
This commit is contained in:
commit
6e14902193
13
alure-cmake-3.28.patch
Normal file
13
alure-cmake-3.28.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: alure-1.2/CMakeLists.txt
|
||||
===================================================================
|
||||
--- alure-1.2.orig/CMakeLists.txt
|
||||
+++ alure-1.2/CMakeLists.txt
|
||||
@@ -223,7 +223,7 @@ IF(SNDFILE)
|
||||
SET(HAS_SNDFILE 1)
|
||||
LINK_DIRECTORIES(${SNDFILE_LIBRARY_DIRS})
|
||||
SET_SOURCE_FILES_PROPERTIES(src/codec_sndfile.cpp PROPERTIES
|
||||
- COMPILE_FLAGS "${SNDFILE_CFLAGS}")
|
||||
+ COMPILE_OPTIONS "${SNDFILE_CFLAGS}")
|
||||
ELSE(SNDFILE_FOUND)
|
||||
FIND_PACKAGE(SndFile)
|
||||
IF(SNDFILE_FOUND)
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 14 15:55:05 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Add alure-cmake-3.28.patch: Fix build using CMake 3.28: set
|
||||
sndfile flags into COMPILE_OPTIONS (which takes a semicolon
|
||||
separatedlist) instead of COMPILE_FLAGS (which asks for a shell
|
||||
usable string).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 7 05:16:39 UTC 2022 - munix9@googlemail.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package alure
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -33,6 +33,7 @@ Patch2: fix-lib-suffix.patch
|
||||
Patch3: fix-link-flac.patch
|
||||
Patch4: fix-FLUIDSYNTH_CFLAGS.patch
|
||||
Patch5: fix-dumb2.patch
|
||||
Patch6: alure-cmake-3.28.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: ninja
|
||||
|
Loading…
Reference in New Issue
Block a user