diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-08-08 08:15:40 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-08-14 21:17:59 +0700 |
commit | aa04bd761e84b4aa45400b2c47b14a26eaac6322 (patch) | |
tree | 49c373e308b08cab4b50c90081f05c13cf4b8dac /graphics/fbida/fbida.SlackBuild | |
parent | 0094591f1488d7430045a07f224802aa9786006f (diff) |
graphics/fbida: 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/fbida/fbida.SlackBuild')
-rw-r--r-- | graphics/fbida/fbida.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/fbida/fbida.SlackBuild b/graphics/fbida/fbida.SlackBuild index 58182b7e40468..26c8abbc706a3 100644 --- a/graphics/fbida/fbida.SlackBuild +++ b/graphics/fbida/fbida.SlackBuild @@ -109,6 +109,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# https://gitlab.com/kraxel/fbida/-/commit/1bb8a8aa.patch +patch -p1 < $CWD/gcc10.patch + MOTIF_OPT="HAVE_MOTIF=${MOTIF:-yes}" sed -i "/^CFLAGS/s,-g *-O2,$SLKCFLAGS," mk/Variables.mk make $MOTIF_OPT prefix=/usr verbose=1 |