mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-21 20:50:07 +00:00
added patch to fix the FONTFORGE_GIT_VERSION for our use
This commit is contained in:
parent
f7aa5f3b48
commit
51ea338524
@ -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
|
||||
|
||||
|
13
patches/fontforge-20170731-fixGitVersion.patch
Normal file
13
patches/fontforge-20170731-fixGitVersion.patch
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user