- update unrar to 4.02

- maintainer timeout
- add and regen patches

ok giovanni@
This commit is contained in:
benoit 2010-12-30 07:51:27 +00:00
parent b55b796b6e
commit 7fe2ad4550
4 changed files with 25 additions and 14 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.49 2010/07/11 15:57:47 espie Exp $
# $OpenBSD: Makefile,v 1.50 2010/12/30 07:51:27 benoit Exp $
COMMENT= extract, list, and test RAR archives
DISTNAME= unrarsrc-3.9.7
PKGNAME= unrar-3.97
DISTNAME= unrarsrc-4.0.2
PKGNAME= unrar-4.02
CATEGORIES= archivers
HOMEPAGE= http://www.rarlab.com/
@ -16,7 +16,6 @@ PERMIT_PACKAGE_FTP= may not modify
PERMIT_DISTFILES_CDROM= no fee
PERMIT_DISTFILES_FTP= Yes
REVISION = 0
WANTLIB= c m stdc++
MASTER_SITES= ${HOMEPAGE}rar/

View File

@ -1,5 +1,5 @@
MD5 (unrarsrc-3.9.7.tar.gz) = MiLz5qjBt5tPYAhtKvNyeg==
RMD160 (unrarsrc-3.9.7.tar.gz) = exMhV3jfU4FDVz8e1p9FMymZty8=
SHA1 (unrarsrc-3.9.7.tar.gz) = uR3WTIJ0a7kJPwV1Hsf106iBIAk=
SHA256 (unrarsrc-3.9.7.tar.gz) = ZPEUrlzobQx6BkoROGNDspOIVakTyIdY9HGV7J47PIA=
SIZE (unrarsrc-3.9.7.tar.gz) = 141081
MD5 (unrarsrc-4.0.2.tar.gz) = bb1VqFNo54TGk/Qv8yc1TQ==
RMD160 (unrarsrc-4.0.2.tar.gz) = QwxlCBoqgWDL5EsPm1LroVeeoxo=
SHA1 (unrarsrc-4.0.2.tar.gz) = fxUuUuZQ2Q5OSAAo8siICQ6aSjU=
SHA256 (unrarsrc-4.0.2.tar.gz) = c94TIrNm4bWcHXD8+7HzIekdqztFkCyldvtFZVCdmCo=
SIZE (unrarsrc-4.0.2.tar.gz) = 151009

View File

@ -1,11 +1,11 @@
$OpenBSD: patch-os_hpp,v 1.5 2009/09/11 16:14:01 naddy Exp $
--- os.hpp.orig Sun Aug 16 13:09:36 2009
+++ os.hpp Mon Sep 7 17:50:51 2009
@@ -245,12 +245,12 @@
$OpenBSD: patch-os_hpp,v 1.6 2010/12/30 07:51:31 benoit Exp $
--- os.hpp.orig Fri Nov 26 08:20:01 2010
+++ os.hpp Mon Dec 6 07:49:22 2010
@@ -262,12 +262,12 @@
#endif
#endif
-#if !defined(BIG_ENDIAN) && !defined(_WIN_CE) && defined(_WIN_32)
-#if !defined(BIG_ENDIAN) && !defined(_WIN_CE) && defined(_WIN_ALL)
+#if defined(ALLOW_NOT_ALIGNED_INT)
/* allow not aligned integer access, increases speed in some operations */
-#define ALLOW_NOT_ALIGNED_INT

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-unicode_hpp,v 1.1 2010/12/30 07:51:31 benoit Exp $
--- unicode.hpp.orig Mon Dec 6 07:56:08 2010
+++ unicode.hpp Mon Dec 6 07:56:19 2010
@@ -29,6 +29,8 @@
// Borland C++ Builder 5 uses the old style swprintf without the buffer size,
// so we replace it with snwprintf in our custom sprintfw definition.
#define sprintfw snwprintf
+#elif defined (__OpenBSD__)
+#define sprintfw(s,...) *(s)=0
#else
#define sprintfw swprintf
#endif