1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-10-10 05:16:12 +00:00

added patches

This commit is contained in:
Stephen Gaito 2019-11-21 19:06:46 +00:00
parent 0eecbed932
commit 0b8bcf565c
3 changed files with 36 additions and 4 deletions

6
.gitignore vendored
View File

@ -1,6 +1,6 @@
fontforge*
FontForge*
poppler*
fontforge
*.tar.*
poppler
build
compile_commands.json
CMakeCache.txt

View File

@ -9,7 +9,7 @@ wget https://codeload.github.com/stephengaito/pdf2htmlEX/zip/$PDF2HTMLEX_VERSION
mv $PDF2HTMLEX_VERSION $PDF2HTMLEX_VERSION.zip
sudo apt get unzip
sudo apt install unzip
unzip $PDF2HTMLEX_VERSION.zip

View File

@ -0,0 +1,32 @@
diff --git a/gdraw/drawboxborder.c b/gdraw/drawboxborder.c
index 629968608..0b00e9dd5 100644
--- a/gdraw/drawboxborder.c
+++ b/gdraw/drawboxborder.c
@@ -24,6 +24,7 @@
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <fontforge-config.h>
#include <math.h>
#include <gdraw.h>
#include <ggadget.h>
diff --git a/gdraw/gpsdraw.c b/gdraw/gpsdraw.c
index 5e58b6208..099e41bbd 100644
--- a/gdraw/gpsdraw.c
+++ b/gdraw/gpsdraw.c
@@ -24,6 +24,7 @@
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "fontforge-config.h"
#include <stdio.h>
#include <math.h>
#include <time.h>
@@ -31,7 +32,6 @@
#if !defined(__MINGW32__)
#include <sys/wait.h>
#endif
-#include "fontforge-config.h"
#include <unistd.h>
#include "gpsdrawP.h"