From 23c8492c477617f7d680820542ff6b468ab06948 Mon Sep 17 00:00:00 2001 From: flathubbot Date: Wed, 3 Nov 2021 20:32:57 +0000 Subject: [PATCH 1/3] Update 3 modules Update 21.10.tar.gz to 21.11 Update llvm-mirror.git Update rpcs3.git --- net.rpcs3.RPCS3.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net.rpcs3.RPCS3.yaml b/net.rpcs3.RPCS3.yaml index 17073ac..572fff2 100644 --- a/net.rpcs3.RPCS3.yaml +++ b/net.rpcs3.RPCS3.yaml @@ -71,8 +71,8 @@ modules: - /lib/pkgconfig sources: - type: archive - url: https://github.com/FNA-XNA/FAudio/archive/refs/tags/21.10.tar.gz - sha256: eca3e2cc148f9b25e8ce61153f3f552a385cdaa903f691af0a53932cc10cfb39 + url: https://github.com/FNA-XNA/FAudio/archive/refs/tags/21.11.tar.gz + sha256: 1389100ca132e06455ad7e4e765a045d9821c234f6e388bef6a0c8d610ce36d1 x-checker-data: type: anitya project-id: 20663 @@ -175,7 +175,7 @@ modules: - type: git url: https://github.com/RPCS3/llvm-mirror.git branch: master - commit: 5836324d6443a62ed09b84c125029e98324978c3 + commit: 18f153b33bef2a4e29a0478ddd374b1f19316a46 - name: rpcs3 buildsystem: cmake-ninja @@ -215,4 +215,4 @@ modules: - type: git url: https://github.com/RPCS3/rpcs3.git branch: master - commit: 37383f4217e1c510a543e100d0ca495800b3361a + commit: 1a0392bf15fc01e55eda94f5e886a88844c25ad0 From 9dedf9252a0b7c031f6e5ef517f1fd4610946092 Mon Sep 17 00:00:00 2001 From: Lctrs Date: Wed, 3 Nov 2021 15:12:40 +0100 Subject: [PATCH 2/3] faudio: add patch to fix build --- net.rpcs3.RPCS3.yaml | 2 ++ patches/faudio/fix-faudio.patch | 31 +++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 patches/faudio/fix-faudio.patch diff --git a/net.rpcs3.RPCS3.yaml b/net.rpcs3.RPCS3.yaml index 572fff2..9a5f8d6 100644 --- a/net.rpcs3.RPCS3.yaml +++ b/net.rpcs3.RPCS3.yaml @@ -78,6 +78,8 @@ modules: project-id: 20663 stable-only: true url-template: https://github.com/FNA-XNA/FAudio/archive/refs/tags/$version.tar.gz + - type: patch + path: patches/faudio/fix-faudio.patch - name: flatbuffers buildsystem: cmake-ninja diff --git a/patches/faudio/fix-faudio.patch b/patches/faudio/fix-faudio.patch new file mode 100644 index 0000000..8b824eb --- /dev/null +++ b/patches/faudio/fix-faudio.patch @@ -0,0 +1,31 @@ +From de0c1f833c12a992af5c7daebe1705cd2c72f743 Mon Sep 17 00:00:00 2001 +From: Stephen Kitt +Date: Mon, 1 Nov 2021 17:25:07 +0100 +Subject: [PATCH] Fix unbalanced parentheses in FAudio.c + +Commit b5916945b90d ("Dont assert on WMA buffer and +FAUDIO_FORMAT_EXTENSIBLE type") introduced unbalanced parentheses, +which breaks builds using HAVE_WMADEC. + +Given the change made in the aforementioned commit, this balances +parentheses by adding a third closing parenthesis after the reworked +conditions. + +Signed-off-by: Stephen Kitt +--- + src/FAudio.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/FAudio.c b/src/FAudio.c +index d3b0b4d8..ff373ef8 100644 +--- a/src/FAudio.c ++++ b/src/FAudio.c +@@ -2455,7 +2455,7 @@ uint32_t FAudioSourceVoice_SubmitSourceBuffer( + #ifdef HAVE_WMADEC + FAudio_assert( (voice->src.wmadec != NULL && (pBufferWMA != NULL || + (voice->src.format->wFormatTag == FAUDIO_FORMAT_XMAUDIO2 || +- voice->src.format->wFormatTag == FAUDIO_FORMAT_EXTENSIBLE)) || ++ voice->src.format->wFormatTag == FAUDIO_FORMAT_EXTENSIBLE))) || + (voice->src.wmadec == NULL && (pBufferWMA == NULL && voice->src.format->wFormatTag != FAUDIO_FORMAT_XMAUDIO2)) ); + #endif /* HAVE_WMADEC */ + From ee68b95d55a573c27f77abc4815252b4db2428ee Mon Sep 17 00:00:00 2001 From: Lctrs Date: Wed, 3 Nov 2021 21:52:06 +0100 Subject: [PATCH 3/3] rpcs3-llvm: pre-clone ittapi --- net.rpcs3.RPCS3.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/net.rpcs3.RPCS3.yaml b/net.rpcs3.RPCS3.yaml index 9a5f8d6..9c0856f 100644 --- a/net.rpcs3.RPCS3.yaml +++ b/net.rpcs3.RPCS3.yaml @@ -171,6 +171,7 @@ modules: - -DLLVM_USE_INTEL_JITEVENTS=ON - -DLLVM_ENABLE_Z3_SOLVER=OFF - -DCMAKE_CXX_STANDARD=17 + - -DITTAPI_SOURCE_DIR=/run/build/rpcs3-llvm/ittapi cleanup: - '*' sources: @@ -178,6 +179,10 @@ modules: url: https://github.com/RPCS3/llvm-mirror.git branch: master commit: 18f153b33bef2a4e29a0478ddd374b1f19316a46 + - type: git + url: https://github.com/intel/ittapi.git + dest: ittapi/ittapi + disable-shallow-clone: true - name: rpcs3 buildsystem: cmake-ninja