Mercurial > mxe-octave
changeset 2652:e0f82e67f477
update package giflib
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Wed, 04 Jul 2012 09:01:39 +0200 |
parents | 48dde24b85b1 |
children | 1edd739f0541 |
files | index.html src/giflib-1-fixes.patch src/giflib.mk |
diffstat | 3 files changed, 42 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/index.html Wed Jul 04 09:00:57 2012 +0200 +++ b/index.html Wed Jul 04 09:01:39 2012 +0200 @@ -1155,7 +1155,7 @@ </tr> <tr> <td id="giflib-package">giflib</td> - <td id="giflib-version">4.2.0</td> + <td id="giflib-version">5.0.0</td> <td id="giflib-website"><a href="http://sourceforge.net/projects/libungif/">giflib</a></td> </tr> <tr>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/giflib-1-fixes.patch Wed Jul 04 09:01:39 2012 +0200 @@ -0,0 +1,32 @@ +This file is part of MXE. +See index.html for further information. + +From e0bcec52c73afb97b91449f1e91cd4da8bf1582f Mon Sep 17 00:00:00 2001 +From: Mark Brand <mabrand@mabrand.nl> +Date: Wed, 4 Jul 2012 08:58:48 +0200 +Subject: [PATCH] fix dir delimiter for mingw + +--- + lib/egif_lib.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/lib/egif_lib.c b/lib/egif_lib.c +index 47be4d9..0e50b06 100644 +--- a/lib/egif_lib.c ++++ b/lib/egif_lib.c +@@ -17,11 +17,10 @@ two modules will be linked. Preserve this property! + + #ifdef _WIN32 + #include <io.h> +-#include <sys\stat.h> + #else + #include <sys/types.h> +-#include <sys/stat.h> + #endif /* _WIN32 */ ++#include <sys/stat.h> + + #include "gif_lib.h" + #include "gif_lib_private.h" +-- +1.7.10.4 +
--- a/src/giflib.mk Wed Jul 04 09:00:57 2012 +0200 +++ b/src/giflib.mk Wed Jul 04 09:01:39 2012 +0200 @@ -3,15 +3,19 @@ PKG := giflib $(PKG)_IGNORE := -$(PKG)_CHECKSUM := bc942711f75de7d8539f79be34d69c0d53c381c1 +$(PKG)_CHECKSUM := 0b032c2104a0956e2f91b6c11ff8c5515421cd8b $(PKG)_SUBDIR := giflib-$($(PKG)_VERSION) $(PKG)_FILE := giflib-$($(PKG)_VERSION).tar.bz2 -$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/giflib/giflib-4.x/$($(PKG)_FILE) +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/giflib/giflib-5.x/$($(PKG)_FILE) $(PKG)_DEPS := gcc define $(PKG)_UPDATE - $(WGET) -q -O- 'http://sourceforge.net/projects/giflib/files/giflib 4.x/' | \ - $(SED) -n 's,.*/giflib-\([0-9][^"]*\)/".*,\1,p' | \ + $(WGET) -q -O- 'http://giflib.git.sourceforge.net/git/gitweb.cgi?p=giflib/giflib;a=tags' | \ + grep '<a class="list name"' | \ + $(SED) -n 's,.*<a[^>]*>\([0-9][^<]*\)<.*,\1,p' | \ + grep -v alpha | \ + grep -v beta | \ + grep -v rc | \ head -1 endef @@ -23,5 +27,6 @@ --disable-shared \ --without-x \ CPPFLAGS='-D_OPEN_BINARY' + echo 'all:' > '$(1)/doc/Makefile' $(MAKE) -C '$(1)/lib' -j '$(JOBS)' install endef