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 | |
parent | 64d0225063b5e94366809b9ca223c85802c5ad17 (diff) |
graphics/fim: Updated for version 0.6_trunk.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/fim/fim.SlackBuild | 16 | ||||
-rw-r--r-- | graphics/fim/fim.info | 6 |
2 files changed, 12 insertions, 10 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 diff --git a/graphics/fim/fim.info b/graphics/fim/fim.info index c2c082121ba9c..25e19a718810b 100644 --- a/graphics/fim/fim.info +++ b/graphics/fim/fim.info @@ -1,8 +1,8 @@ PRGNAM="fim" -VERSION="0.5_rc1" +VERSION="0.6_trunk" HOMEPAGE="http://www.nongnu.org/fbi-improved/" -DOWNLOAD="http://download.savannah.gnu.org/releases/fbi-improved/fim-0.5-rc1.tar.gz" -MD5SUM="03d4dd36c894c1d319b5d5ca7a82dfb3" +DOWNLOAD="http://download.savannah.nongnu.org/releases/fbi-improved/fim-0.6-trunk.tar.gz" +MD5SUM="96492d5c53f806ebdf6d624e73360bdd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |