diff options
author | Philip Lacroix <slackph at posteo dot de> | 2022-02-08 00:01:01 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-08 00:01:01 +0700 |
commit | dff7c85eef13f16ada611af0dd5b1d6d723d0f62 (patch) | |
tree | 5c3fa65a8320a7c0d9b3a107add0228aba636ad1 /multimedia | |
parent | be9306e089935d1a41a02e04d1166a88bc423cba (diff) |
multimedia/coriander: Fix build on -current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/coriander/coriander.SlackBuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/multimedia/coriander/coriander.SlackBuild b/multimedia/coriander/coriander.SlackBuild index 811c40173f35c..3756283bee445 100644 --- a/multimedia/coriander/coriander.SlackBuild +++ b/multimedia/coriander/coriander.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for coriander -# Copyright 2015-2021 Philip Lacroix <slackph at posteo dot de> +# Copyright 2015-2022 Philip Lacroix <slackph at posteo dot de> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=coriander VERSION=${VERSION:-2.0.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,7 +80,11 @@ 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 {} \; -CFLAGS="$SLKCFLAGS" \ +# We'll have to use -fcommon to work around some multiple definition errors +# that would prevent compilation using GCC versions >= 10, where -fno-common +# is now default. [Reference: https://gcc.gnu.org/gcc-10/porting_to.html] + +CFLAGS="$SLKCFLAGS -fcommon" \ ./configure \ --prefix=/usr \ --enable-static=no \ |