mirror of https://git.wownero.com/dsc/mxe.git
upgrade package pdflib_lite (by Mark Brand)
This commit is contained in:
parent
3700256094
commit
cdc67189b8
|
@ -0,0 +1,23 @@
|
|||
This file is part of mingw-cross-env.
|
||||
See doc/index.html for further information.
|
||||
|
||||
This patch has been taken from:
|
||||
http://tech.groups.yahoo.com/group/pdflib/message/20472
|
||||
|
||||
diff -urN a/libs/pdcore/pc_util.c b/libs/pdcore/pc_util.c
|
||||
--- a/libs/pdcore/pc_util.c 2010-04-29 15:50:05.000000000 +0200
|
||||
+++ b/libs/pdcore/pc_util.c 2010-05-11 23:59:03.915954995 +0200
|
||||
@@ -30,8 +30,12 @@
|
||||
#include <ieeefp.h> /* for finite */
|
||||
#endif
|
||||
|
||||
-#if defined (isfinite)
|
||||
+#if defined(isfinite)
|
||||
#define PDC_ISFINITE isfinite
|
||||
+#if defined(__MINGW32__)
|
||||
+/* MinGW has infinite, but we still need DWORD */
|
||||
+#include <windef.h>
|
||||
+#endif
|
||||
#else /* isfinite */
|
||||
|
||||
#if defined(WIN32)
|
|
@ -4,8 +4,8 @@
|
|||
# PDFlib Lite
|
||||
PKG := pdflib_lite
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_VERSION := 7.0.4p4
|
||||
$(PKG)_CHECKSUM := 36d3f8cedeed95ec68ae90f489d9bfb40b4c6593
|
||||
$(PKG)_VERSION := 7.0.5
|
||||
$(PKG)_CHECKSUM := 5b2bf5edc49dba3da0997ade0e191511a37fae01
|
||||
$(PKG)_SUBDIR := PDFlib-Lite-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := PDFlib-Lite-$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_WEBSITE := http://www.pdflib.com/download/free-software/pdflib-lite-7/
|
||||
|
|
Loading…
Reference in New Issue