-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3DS: Downgrade FreeType to version 2.6.5
- Loading branch information
1 parent
9f9d152
commit fdb5afe
Showing
3 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#! /bin/sh | ||
|
||
# Newer versions of FreeType allocate too much memory on the stack | ||
FREETYPE_VERSION=2.6.5 | ||
|
||
PACKAGE_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd) | ||
HELPERS_DIR=$PACKAGE_DIR/../.. | ||
. $HELPERS_DIR/functions.sh | ||
|
||
do_make_bdir | ||
|
||
# GPG key of Werner Lemberg <wl@gnu.org> | ||
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 0xC1A60EACE707FDA5 | ||
do_http_fetch freetype "http://download.savannah.gnu.org/releases/freetype/freetype-old/freetype-${FREETYPE_VERSION}.tar.bz2" \ | ||
'tar xjf' "gpgurl:http://download.savannah.gnu.org/releases/freetype/freetype-old/freetype-${FREETYPE_VERSION}.tar.bz2.sig" | ||
rm -Rf $HOME/.gnupg | ||
|
||
do_configure | ||
do_make | ||
do_make install | ||
|
||
do_clean_bdir |