aboutsummaryrefslogtreecommitdiff
path: root/development/wxHexEditor/wxHexEditor.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/wxHexEditor/wxHexEditor.SlackBuild')
-rw-r--r--development/wxHexEditor/wxHexEditor.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/development/wxHexEditor/wxHexEditor.SlackBuild b/development/wxHexEditor/wxHexEditor.SlackBuild
index 132f2376d5..f220b10026 100644
--- a/development/wxHexEditor/wxHexEditor.SlackBuild
+++ b/development/wxHexEditor/wxHexEditor.SlackBuild
@@ -5,7 +5,7 @@
# Written by Branko Grubic <branko.grubic@gmail.com>
# Former maintainer Vliegendehuiskat <vliegendehuiskat [at] gmail [dot] com>
# Former maintainer Didier Spaier, Paris, France
-# Current maintainer 2015-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Current maintainer 2015-2025 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
@@ -31,7 +31,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=wxHexEditor
VERSION=${VERSION:-20231108_f439d8f}
SRCVERSION=f439d8f3bfbccbf7f7ec587b548a7d7421978b2f
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,6 +81,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 {} \;
+# Fix build on -current
+export CFLAGS="${CFLAGS} -std=gnu17"
+
# Fix build on i586 and ARM
patch -p1 < $CWD/224.patch