aboutsummaryrefslogtreecommitdiff
path: root/system/mediaextract/mediaextract.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/mediaextract/mediaextract.SlackBuild')
-rw-r--r--system/mediaextract/mediaextract.SlackBuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/mediaextract/mediaextract.SlackBuild b/system/mediaextract/mediaextract.SlackBuild
index bb8e9aada825..d61caa732f97 100644
--- a/system/mediaextract/mediaextract.SlackBuild
+++ b/system/mediaextract/mediaextract.SlackBuild
@@ -57,6 +57,15 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+# 20220319 bkw: gcc and clang were both hitting the 4GB per-process
+# memory limit, due to ridiculous preprocessor abuse in riff.c. The
+# thing was doing a bunch of nested macro expansions, to determine
+# the maximum size for an array... turns out the size it calculated
+# was 9. The patch just hardcodes it to 9 and gets rid of the nested
+# macro calls. This should be revisited when/if there's a new
+# version of mediaextract.
+patch -p1 < $CWD/compilefix.diff
+
cd source
mkdir -p build-linux32 build-linux64