mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-21 12:40:08 +00:00
added patches
This commit is contained in:
parent
0eecbed932
commit
0b8bcf565c
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,6 +1,6 @@
|
|||||||
fontforge*
|
fontforge
|
||||||
FontForge*
|
*.tar.*
|
||||||
poppler*
|
poppler
|
||||||
build
|
build
|
||||||
compile_commands.json
|
compile_commands.json
|
||||||
CMakeCache.txt
|
CMakeCache.txt
|
||||||
|
@ -9,7 +9,7 @@ wget https://codeload.github.com/stephengaito/pdf2htmlEX/zip/$PDF2HTMLEX_VERSION
|
|||||||
|
|
||||||
mv $PDF2HTMLEX_VERSION $PDF2HTMLEX_VERSION.zip
|
mv $PDF2HTMLEX_VERSION $PDF2HTMLEX_VERSION.zip
|
||||||
|
|
||||||
sudo apt get unzip
|
sudo apt install unzip
|
||||||
|
|
||||||
unzip $PDF2HTMLEX_VERSION.zip
|
unzip $PDF2HTMLEX_VERSION.zip
|
||||||
|
|
||||||
|
32
patches/fontforge-20170731-fixGDraw.patch
Normal file
32
patches/fontforge-20170731-fixGDraw.patch
Normal 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"
|
Loading…
Reference in New Issue
Block a user