diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-01-22 20:46:38 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:22:32 -0500 |
commit | 75bf431eaed00501e601a6767844dfd02ab4b2b9 (patch) | |
tree | 4bfb802e3af26f83b99113388e1dcbbc81ade42e /graphics/fim/fim.SlackBuild | |
parent | 64d0225063b5e94366809b9ca223c85802c5ad17 (diff) |
graphics/fim: Updated for version 0.6_trunk.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics/fim/fim.SlackBuild')
-rw-r--r-- | graphics/fim/fim.SlackBuild | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/graphics/fim/fim.SlackBuild b/graphics/fim/fim.SlackBuild index c2ae121b2988e..1416014e3112b 100644 --- a/graphics/fim/fim.SlackBuild +++ b/graphics/fim/fim.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=fim -VERSION=${VERSION:-0.5_rc1} +VERSION=${VERSION:-0.6_trunk} SRCVER=$(echo $VERSION | tr _ -) BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,6 +71,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 {} \; +# Workaround for gcc 10 (hanks garron@AUR) +sed -i -e 's/#define FIM_WANT_BACKGROUND_LOAD.*//' src/fim.h +sed -i -e 's/void exit/FIM_NORETURN void exit/' src/CommandConsole.h +sed -i -e 's/°//g' src/fim.cpp + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -82,14 +87,11 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --disable-static \ --disable-debug \ - --with-default-consolefont=/usr/share/kbd/consolefonts/LatGrkCyr-8x16.psfu.gz \ + --enable-hardcoded-font \ + --enable-sdl \ + --enable-unicode \ --build=$ARCH-slackware-linux -# Fix build with bison-3 -sed -i \ - -e '/^fim_LDADD = /s/ \$(LEXLIB)//' \ - src/Makefile - make -j1 make install DESTDIR=$PKG |