summaryrefslogtreecommitdiff
path: root/multimedia/ccextractor/ccextractor.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-02-02 18:37:27 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:15:54 -0500
commit81d4e04f07f47ba2de63c5c858dffa07363dd911 (patch)
tree2339a0c90f7741440e55b60d5edd7ba6c9444bbb /multimedia/ccextractor/ccextractor.SlackBuild
parent771be9cd94bd71cc2304a69cc8fd94a734210bc7 (diff)
downloadslackbuilds-81d4e04f07f47ba2de63c5c858dffa07363dd911.tar.gz
multimedia/ccextractor: Patch for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'multimedia/ccextractor/ccextractor.SlackBuild')
-rw-r--r--multimedia/ccextractor/ccextractor.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/multimedia/ccextractor/ccextractor.SlackBuild b/multimedia/ccextractor/ccextractor.SlackBuild
index 78018a2b3b..56f59a96f8 100644
--- a/multimedia/ccextractor/ccextractor.SlackBuild
+++ b/multimedia/ccextractor/ccextractor.SlackBuild
@@ -79,6 +79,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Thanks gentoo for this patch!
+( cd ../src ; patch -p1 < $CWD/ccextractor-0.88-fno-common.patch )
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./autogen.sh