changeset 1959:688b877b2c0b

update package mingwrt
author Mark Brand <mabrand@mabrand.nl>
date Wed, 24 Aug 2011 18:44:47 +0200
parents 3e50c88f2d2a
children bda30c2eb1f4
files src/libarchive-1-fixes.patch src/libdnet-1-fixes.patch src/mingwrt-1-float.patch src/mingwrt.mk
diffstat 4 files changed, 58 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/libarchive-1-fixes.patch	Wed Aug 24 18:44:47 2011 +0200
@@ -0,0 +1,27 @@
+This file is part of mingw-cross-env.
+See doc/index.html for further information.
+
+Contains ad hoc patches for cross building.
+
+From 5dc5ed0a476884c696e0ac01f9298ba02c213290 Mon Sep 17 00:00:00 2001
+From: mingw-cross-env
+Date: Wed, 24 Aug 2011 18:08:23 +0200
+Subject: [PATCH] do not redefine ssize_t
+
+
+diff --git a/libarchive/archive.h b/libarchive/archive.h
+index 5ca28eb..f33a8ed 100644
+--- a/libarchive/archive.h
++++ b/libarchive/archive.h
+@@ -52,7 +52,7 @@
+ /* These should match the types used in 'struct stat' */
+ #if defined(_WIN32) && !defined(__CYGWIN__)
+ #define	__LA_INT64_T	__int64
+-# if defined(_SSIZE_T_DEFINED)
++# if defined(_SSIZE_T_DEFINED) || defined(_SSIZE_T_)
+ #  define	__LA_SSIZE_T	ssize_t
+ # elif defined(_WIN64)
+ #  define	__LA_SSIZE_T	__int64
+-- 
+1.7.6
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/libdnet-1-fixes.patch	Wed Aug 24 18:44:47 2011 +0200
@@ -0,0 +1,29 @@
+This file is part of mingw-cross-env.
+See doc/index.html for further information.
+
+Contains ad hoc patches for cross building.
+
+From 830ac87570520d72a173a351c082503c4d1b2911 Mon Sep 17 00:00:00 2001
+From: mingw-cross-env
+Date: Wed, 24 Aug 2011 18:01:19 +0200
+Subject: [PATCH] do not redefine ssize_t
+
+
+diff --git a/include/dnet/os.h b/include/dnet/os.h
+index c12c7b2..9e8bdd2 100644
+--- a/include/dnet/os.h
++++ b/include/dnet/os.h
+@@ -23,8 +23,10 @@
+   typedef u_short	uint16_t;
+   typedef u_int		uint32_t;
+ # ifndef __CYGWIN__
++# ifndef _SSIZE_T_
+   typedef long		ssize_t;
+ # endif
++# endif
+ #else
+ # include <sys/param.h>
+ # include <sys/types.h>
+-- 
+1.7.6
+
--- a/src/mingwrt-1-float.patch	Wed Aug 24 18:44:22 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-This file is part of mingw-cross-env.
-See doc/index.html for further information.
-
-This patch has been taken from:
-http://sourceforge.net/tracker/?func=detail&atid=302435&aid=3011968&group_id=2435
-http://gcc.gnu.org/ml/gcc-patches/2010-06/msg00387.html
-
-diff -urN a/include/float.h b/include/float.h
---- a/include/float.h	2010-03-07 04:31:41.000000000 +0100
-+++ b/include/float.h	2010-06-05 12:29:08.899723741 +0200
-@@ -16,8 +16,6 @@
-  *
-  */
- 
--#include_next<float.h>
--
- #ifndef _MINGW_FLOAT_H_
- #define _MINGW_FLOAT_H_
- 
--- a/src/mingwrt.mk	Wed Aug 24 18:44:22 2011 +0200
+++ b/src/mingwrt.mk	Wed Aug 24 18:44:47 2011 +0200
@@ -4,8 +4,8 @@
 # MinGW Runtime
 PKG             := mingwrt
 $(PKG)_IGNORE   :=
-$(PKG)_VERSION  := 3.18
-$(PKG)_CHECKSUM := 0c562f3b6a89f376b9edba48ccd7388c535f8c8d
+$(PKG)_VERSION  := 3.20
+$(PKG)_CHECKSUM := 7c63f3695968054b7236282f35562bb3a2c388d4
 $(PKG)_SUBDIR   := .
 $(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION)-mingw32-dev.tar.gz
 $(PKG)_WEBSITE  := http://www.mingw.org/