Mercurial > mxe-octave
diff src/giflib-1-fixes.patch @ 2652:e0f82e67f477
update package giflib
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Wed, 04 Jul 2012 09:01:39 +0200 |
parents | |
children |
line wrap: on
line diff
--- /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 +