summaryrefslogtreecommitdiffstats
path: root/graphics/gcolor2/gcolor2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gcolor2/gcolor2.SlackBuild')
-rw-r--r--graphics/gcolor2/gcolor2.SlackBuild5
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