changeset 1978:718a1a5818ee

update package libarchive
author Mark Brand <mabrand@mabrand.nl>
date Sat, 03 Sep 2011 19:50:12 +0200
parents 3a54f0ccdd00
children 9e3cc5c56804
files src/libarchive-1-fixes.patch src/libarchive.mk
diffstat 2 files changed, 2 insertions(+), 28 deletions(-) [+]
line wrap: on
line diff
--- a/src/libarchive-1-fixes.patch	Sun Sep 04 00:40:19 2011 +1000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-This file is part of mingw-cross-env.
-See doc/index.html for further information.
-
-Patch taken from
-http://code.google.com/p/libarchive/source/detail?r=3649
-
-mingwrt 3.20 provides ssize_t and defines _SSIZE_T_. This patch
-allows libarchive to use this ssize_t instead of defining its
-own which causes build failure. Applies to libarchive 2.8.4.
-
-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
-
--- a/src/libarchive.mk	Sun Sep 04 00:40:19 2011 +1000
+++ b/src/libarchive.mk	Sat Sep 03 19:50:12 2011 +0200
@@ -4,8 +4,8 @@
 # Libarchive
 PKG             := libarchive
 $(PKG)_IGNORE   :=
-$(PKG)_VERSION  := 2.8.4
-$(PKG)_CHECKSUM := b9cc3bbd20bd71f996be9ec738f19fda8653f7af
+$(PKG)_VERSION  := 2.8.5
+$(PKG)_CHECKSUM := e48a3b50de84b1d747f5af9ca5ba90eb6d3a4a78
 $(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
 $(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.gz
 $(PKG)_WEBSITE  := http://code.google.com/p/libarchive/