diff options
author | B. Watson <urchlay@slackware.uk> | 2024-09-24 04:41:39 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-28 06:54:26 +0700 |
commit | b1f9afd21e0a65aa92190403a36ea50d23c8ed34 (patch) | |
tree | e33ab43020808984c0be70e1a409c7317fab90e1 /libraries/ftgl/ftgl.SlackBuild | |
parent | da8a40a1f72374f969fe534e07ee916f21f944bc (diff) |
libraries/ftgl: Fix -current build.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/ftgl/ftgl.SlackBuild')
-rw-r--r-- | libraries/ftgl/ftgl.SlackBuild | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/libraries/ftgl/ftgl.SlackBuild b/libraries/ftgl/ftgl.SlackBuild index deb648f8989c..ce85294cb63a 100644 --- a/libraries/ftgl/ftgl.SlackBuild +++ b/libraries/ftgl/ftgl.SlackBuild @@ -7,6 +7,9 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20240924 bkw: BUILD=3. +# - add compile fix patch for -current (does no harm on stable). + # 20220207 bkw: BUILD=2. # - take over maintenance. # - relicense as WTFPL with permission. @@ -18,7 +21,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ftgl VERSION=${VERSION:-2.4.0} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,8 +66,14 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ - \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + + +# 20240924 bkw: This patch fixes compilation with -current's newer +# FreeType. It was pointed out to me by Jacques Bon, via email. It +# comes from: +# https://github.com/HamzaM3/ftgl/pull/1/commits/37ed7d606a0dfecdcb4ab0c26d1b0132cd96d5fa +patch -p1 < $CWD/0001-Fix-type-mismatch-with-latest-FreeType.patch ./autogen.sh |