Mercurial > mxe-octave
changeset 2577:d1569d04b337
update package pdflib_lite
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Mon, 11 Jun 2012 19:41:01 +0200 |
parents | f21f13f30536 |
children | c5f4434a1c2b |
files | index.html src/pdflib_lite-1-mingw.patch src/pdflib_lite.mk |
diffstat | 3 files changed, 46 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/index.html Mon Jun 11 13:29:32 2012 +0200 +++ b/index.html Mon Jun 11 19:41:01 2012 +0200 @@ -1685,7 +1685,7 @@ </tr> <tr> <td id="pdflib_lite-package">pdflib_lite</td> - <td id="pdflib_lite-version">7.0.5</td> + <td id="pdflib_lite-version">7.0.5p3</td> <td id="pdflib_lite-website"><a href="http://www.pdflib.com/download/free-software/pdflib-lite-7/">PDFlib Lite</a></td> </tr> <tr>
--- a/src/pdflib_lite-1-mingw.patch Mon Jun 11 13:29:32 2012 +0200 +++ b/src/pdflib_lite-1-mingw.patch Mon Jun 11 19:41:01 2012 +0200 @@ -1,12 +1,21 @@ This file is part of MXE. See index.html for further information. +From ad526da840d636da440ce31a6c7f7909ed7ce61c Mon Sep 17 00:00:00 2001 +From: a <a@mxe.cc> +Date: Mon, 11 Jun 2012 17:27:15 +0200 +Subject: [PATCH 1/2] fix for mingw + This patch has been taken from: http://tech.groups.yahoo.com/group/pdflib/message/20472 +--- + libs/pdcore/pc_util.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) -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 +diff --git a/libs/pdcore/pc_util.c b/libs/pdcore/pc_util.c +index e8d8fec..f874bad 100644 +--- a/libs/pdcore/pc_util.c ++++ b/libs/pdcore/pc_util.c @@ -30,8 +30,12 @@ #include <ieeefp.h> /* for finite */ #endif @@ -21,3 +30,32 @@ #else /* isfinite */ #if defined(WIN32) +-- +1.7.10.3 + + +From 315d17f1b6d050df824a26418b191ca38ebd4602 Mon Sep 17 00:00:00 2001 +From: Mark Brand <mabrand@mabrand.nl> +Date: Mon, 11 Jun 2012 17:33:04 +0200 +Subject: [PATCH 2/2] force mingw detection + +--- + configure.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.in b/configure.in +index 3944168..de6ec09 100644 +--- a/configure.in ++++ b/configure.in +@@ -98,7 +98,7 @@ then + ac_sys_system=next && ac_sys_release=$4 + MACHDEP="$ac_sys_system$ac_sys_release$ac_sys_cpu" + else +- ac_sys_system=`uname -s` ++ ac_sys_system=MinGW + if test "$ac_sys_system" = "AIX" ; then + ac_sys_release=`uname -v` + else +-- +1.7.10.3 +
--- a/src/pdflib_lite.mk Mon Jun 11 13:29:32 2012 +0200 +++ b/src/pdflib_lite.mk Mon Jun 11 19:41:01 2012 +0200 @@ -3,7 +3,7 @@ PKG := pdflib_lite $(PKG)_IGNORE := -$(PKG)_CHECKSUM := 5b2bf5edc49dba3da0997ade0e191511a37fae01 +$(PKG)_CHECKSUM := 42e0605ae21f4b6d25fa2d20e78fed6df36fbaa9 $(PKG)_SUBDIR := PDFlib-Lite-$($(PKG)_VERSION) $(PKG)_FILE := PDFlib-Lite-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://www.pdflib.com/binaries/PDFlib/$(subst .,,$(word 1,$(subst p, ,$($(PKG)_VERSION))))/$($(PKG)_FILE) @@ -16,9 +16,11 @@ endef define $(PKG)_BUILD - $(SED) -i 's,ac_sys_system=`uname -s`,ac_sys_system=MinGW,' '$(1)/configure' + cd '$(1)' && aclocal -I config --install + cd '$(1)' && autoconf cd '$(1)' && ./configure \ --host='$(TARGET)' \ + --build="`config.guess`" \ --disable-shared \ --prefix='$(PREFIX)/$(TARGET)' \ --without-openssl \