Browse Source
multimedia/coriander: Fix build on -current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/168/head
Philip Lacroix
4 years ago
committed by
Willy Sudiarto Raharjo
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with
7 additions and
3 deletions
-
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 \ |
|
|
|
|