Browse Source

Add flac patch to workaround compiler bug causing build error

Signed-off-by: falkTX <falktx@falktx.com>
master
falkTX 15 hours ago
parent
commit
735531fbc6
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
3 changed files with 15 additions and 1 deletions
  1. +1
    -1
      sources/libs/flac-static/debian/changelog
  2. +13
    -0
      sources/libs/flac-static/debian/patches/9003-workaround-compiler-bug.patch
  3. +1
    -0
      sources/libs/flac-static/debian/patches/series

+ 1
- 1
sources/libs/flac-static/debian/changelog View File

@@ -1,4 +1,4 @@
flac-static (6:1.5.0-1kxstudio1) focal; urgency=medium
flac-static (6:1.5.0-1kxstudio2) focal; urgency=medium

* Update



+ 13
- 0
sources/libs/flac-static/debian/patches/9003-workaround-compiler-bug.patch View File

@@ -0,0 +1,13 @@
--- flac-static-1.5.0.orig/src/libFLAC/window.c
+++ flac-static-1.5.0/src/libFLAC/window.c
@@ -178,6 +178,10 @@ void FLAC__window_rectangle(FLAC__real *
window[n] = 1.0f;
}
+#ifdef __arm__
+/* workaround compiler bug */
+__attribute__((optimize(1)))
+#endif
void FLAC__window_triangle(FLAC__real *window, const FLAC__int32 L)
{
FLAC__int32 n;

+ 1
- 0
sources/libs/flac-static/debian/patches/series View File

@@ -1,3 +1,4 @@
0001-remove-build-path-from-generated-FLAC.tag-file.patch
9001-fix-libs.patch
9002-hidden-flac-api.patch
9003-workaround-compiler-bug.patch

Loading…
Cancel
Save