diff options
author | 2021-08-04 12:53:21 +0200 | |
---|---|---|
committer | 2021-08-07 10:28:42 +0700 | |
commit | fae8acef6f631d998532ccdec532896407e770ca (patch) | |
tree | 8aca1c7077fe41842220d1f12b6382c6b7049976 /graphics/gcolor2/gcolor2.SlackBuild | |
parent | f15ef59048b8251ea5feb2c4adaab9e10a3c8a9c (diff) | |
download | slackbuilds-fae8acef6f631d998532ccdec532896407e770ca.tar.gz slackbuilds-fae8acef6f631d998532ccdec532896407e770ca.tar.xz |
graphics/gcolor2: Patch for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/gcolor2/gcolor2.SlackBuild')
-rw-r--r-- | graphics/gcolor2/gcolor2.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/gcolor2/gcolor2.SlackBuild b/graphics/gcolor2/gcolor2.SlackBuild index e4de53657c..d296407f44 100644 --- a/graphics/gcolor2/gcolor2.SlackBuild +++ b/graphics/gcolor2/gcolor2.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=gcolor2 VERSION=${VERSION:-0.4} -BUILD=${BUILD:-4} +BUILD=${BUILD:-5} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -84,6 +84,9 @@ find -L . \ patch -p1 < $CWD/color_definition_path.patch # fix segfaults on x86_64 and remove some compilation warnings: patch -p1 < $CWD/amd64_segfault.patch +# fix callbacks related error on main.o (Thanks to Gentoo): +patch -p1 < $CWD/gcolor2-0.4-fno-common.patch + # correct character class definition in configure script: sed -i '/gentoo_ltmain_version/s/\[:space:\]/[&]/g' configure |