added patch to fix the FONTFORGE_GIT_VERSION for our use

This commit is contained in:
Stephen Gaito 2019-11-23 06:41:05 +00:00
parent f7aa5f3b48
commit 51ea338524
2 changed files with 18 additions and 2 deletions

View File

@ -2,14 +2,17 @@
# This bash script build FontForge
source buildScripts/versionEnvs
cd fontforge
./bootstrap
./configure
# Apply any patches required for fontforge raw sources before we make
#
for APATCHFILE in $(ls ../patches/fontforge-$FONTFORGE_VERSION-*) do
echo "patching fontforge using [$APATCHFILE]"
for APATCHFILE in $(ls ../patches/fontforge-$FONTFORGE_VERSION-*)
do
echo "patching fontforge using [$APATCHFILE]"
patch -p 1 < $APATCHFILE
done

View File

@ -0,0 +1,13 @@
fontforge-config.h
--- a/inc/fontforge-config.h 2019-11-23 06:38:36.632042953 +0000
+++ b/inc/fontforge-config.h 2019-11-23 06:38:47.424229496 +0000
@@ -67,7 +67,7 @@
/* #undef FONTFORGE_DEBUG */
/* "git hash that source are built from" */
-#define FONTFORGE_GIT_VERSION ""
+#define FONTFORGE_GIT_VERSION "20170731"
/* ExeLibFontForge Major Version */
#define FONTFORGE_LIBFFE_VERSION_MAJOR 2