diff options
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 |