# HG changeset patch # User Mark Brand # Date 1274032979 -7200 # Node ID 464f5f2cba215dad6de2b654eaf4b9eaf7b566dc # Parent 4d2e6c7c2cc2bf43adb54d91406ee5d4184a3ef9 update package jpeg Previously used patch is now in sources from upstream. diff -r 4d2e6c7c2cc2 -r 464f5f2cba21 src/jpeg-1-win32.patch --- a/src/jpeg-1-win32.patch Sun May 16 18:06:17 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,40 +0,0 @@ -This file is part of mingw-cross-env. -See doc/index.html for further information. - -diff -r fcac1fe04220 jconfig.cfg ---- a/jconfig.cfg Sun Apr 25 11:28:20 2010 +0200 -+++ b/jconfig.cfg Mon Apr 26 11:32:32 2010 +0200 -@@ -16,6 +16,14 @@ - #undef NEED_SHORT_EXTERNAL_NAMES - /* Define this if you get warnings about undefined structures. */ - #undef INCOMPLETE_TYPES_BROKEN -+ -+/* Define "boolean" as unsigned char, not int, on Windows systems. */ -+#ifdef _WIN32 -+#ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */ -+typedef unsigned char boolean; -+#endif -+#define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */ -+#endif - - #ifdef JPEG_INTERNALS - -diff -r fcac1fe04220 jconfig.txt ---- a/jconfig.txt Sun Apr 25 11:28:20 2010 +0200 -+++ b/jconfig.txt Mon Apr 26 11:32:32 2010 +0200 -@@ -91,6 +91,15 @@ - */ - #undef INCOMPLETE_TYPES_BROKEN - -+/* Define "boolean" as unsigned char, not int, on Windows systems. -+ */ -+#ifdef _WIN32 -+#ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */ -+typedef unsigned char boolean; -+#endif -+#define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */ -+#endif -+ - - /* - * The following options affect code selection within the JPEG library, diff -r 4d2e6c7c2cc2 -r 464f5f2cba21 src/jpeg.mk --- a/src/jpeg.mk Sun May 16 18:06:17 2010 +0200 +++ b/src/jpeg.mk Sun May 16 20:02:59 2010 +0200 @@ -4,8 +4,8 @@ # jpeg PKG := jpeg $(PKG)_IGNORE := -$(PKG)_VERSION := 8a -$(PKG)_CHECKSUM := 78077fb22f0b526a506c21199fbca941d5c671a9 +$(PKG)_VERSION := 8b +$(PKG)_CHECKSUM := 15dc1939ea1a5b9d09baea11cceb13ca59e4f9df $(PKG)_SUBDIR := jpeg-$($(PKG)_VERSION) $(PKG)_FILE := jpegsrc.v$($(PKG)_VERSION).tar.gz $(PKG)_WEBSITE := http://www.ijg.org/