update to 4.45; from maintainer Josh Grosse

This commit is contained in:
naddy 2007-05-08 17:59:15 +00:00
parent a6b2a31df6
commit f3f52793fe
5 changed files with 11 additions and 62 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/04/20 17:50:05 steven Exp $
# $OpenBSD: Makefile,v 1.2 2007/05/08 17:59:15 naddy Exp $
SHARED_ONLY= Yes
COMMENT-main= "file archiver with high compression ratio"
COMMENT-rar= "rar modules for p7zip"
V= 4.44
V= 4.45
DISTNAME= p7zip_${V}_src_all
PKGNAME= p7zip-${V}
PKGNAME-main= p7zip-${V}

View File

@ -1,5 +1,5 @@
MD5 (p7zip_4.44_src_all.tar.bz2) = eLBL7Rah5+kbW/Lx+Eq4EQ==
RMD160 (p7zip_4.44_src_all.tar.bz2) = oE8TxVziF4HEY968V4/UgZ8XGt8=
SHA1 (p7zip_4.44_src_all.tar.bz2) = R04keafOsZ/PdeYXhOLE7PLS9+c=
SHA256 (p7zip_4.44_src_all.tar.bz2) = y4cwT2gucXarlc5z084re2U4TgUScvw075NOJCe7068=
SIZE (p7zip_4.44_src_all.tar.bz2) = 1518820
MD5 (p7zip_4.45_src_all.tar.bz2) = t+t6krG/DnOi/q6VzTGE9w==
RMD160 (p7zip_4.45_src_all.tar.bz2) = I2d/QeGiwdjCVAc7wX6kDqkIUfE=
SHA1 (p7zip_4.45_src_all.tar.bz2) = Br2vdV4ohTnaTvo5n8FDZI21es0=
SHA256 (p7zip_4.45_src_all.tar.bz2) = OikC1TKnZzETYJIytGyGjmxV284Ofvc9jvlE+ylceYQ=
SIZE (p7zip_4.45_src_all.tar.bz2) = 1458299

View File

@ -1,26 +0,0 @@
$OpenBSD: patch-CPP_myWindows_myGetNumberOfProcessors_cpp,v 1.1.1.1 2007/04/20 17:50:05 steven Exp $
--- CPP/myWindows/myGetNumberOfProcessors.cpp.orig Sat Jan 20 18:06:41 2007
+++ CPP/myWindows/myGetNumberOfProcessors.cpp Sat Apr 14 07:28:38 2007
@@ -14,16 +14,16 @@ namespace NWindows
{
#if defined (__NetBSD__) || defined(__OpenBSD__)
int GetNumberOfProcessors() {
- int mib[2];
- size_t value[2];
+ int mib[2], value;
+ size_t len;
int nbcpu = 1;
mib[0] = CTL_HW;
mib[1] = HW_NCPU;
- value[1] = sizeof(size_t);
- if (sysctl(mib, 2, value, value+1, NULL, 0) >= 0)
- if (value[0] > nbcpu)
- nbcpu = value[0];
+ len = sizeof(value);
+ if (sysctl(mib, 2, &value, &len, NULL, 0) >= 0)
+ if (value > nbcpu)
+ nbcpu = value;
return nbcpu;
}
#elif defined (__FreeBSD__)

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-main,v 1.1.1.1 2007/04/20 17:50:05 steven Exp $
@comment $OpenBSD: PLIST-main,v 1.2 2007/05/08 17:59:15 naddy Exp $
bin/7z
bin/7za
bin/7zr
@ -8,32 +8,6 @@ lib/p7zip/7zCon.sfx
lib/p7zip/7za
lib/p7zip/7zr
lib/p7zip/Codecs/
lib/p7zip/Codecs/7zAES.so
lib/p7zip/Codecs/AES.so
lib/p7zip/Codecs/BZip2.so
lib/p7zip/Codecs/Branch.so
lib/p7zip/Codecs/Copy.so
lib/p7zip/Codecs/Deflate.so
lib/p7zip/Codecs/LZMA.so
lib/p7zip/Codecs/PPMD.so
lib/p7zip/Codecs/Swap.so
lib/p7zip/Formats/
lib/p7zip/Formats/7z.so
lib/p7zip/Formats/Tar.so
lib/p7zip/Formats/Zip.so
lib/p7zip/Formats/arj.so
lib/p7zip/Formats/bz2.so
lib/p7zip/Formats/cab.so
lib/p7zip/Formats/chm.so
lib/p7zip/Formats/cpio.so
lib/p7zip/Formats/deb.so
lib/p7zip/Formats/gz.so
lib/p7zip/Formats/iso.so
lib/p7zip/Formats/lzh.so
lib/p7zip/Formats/nsis.so
lib/p7zip/Formats/rpm.so
lib/p7zip/Formats/split.so
lib/p7zip/Formats/z.so
@man man/man1/7z.1
@man man/man1/7za.1
@man man/man1/7zr.1
@ -41,9 +15,11 @@ share/doc/p7zip/
share/doc/p7zip/7zC.txt
share/doc/p7zip/7zFormat.txt
share/doc/p7zip/ChangeLog
share/doc/p7zip/License.txt
share/doc/p7zip/MANUAL/
share/doc/p7zip/MANUAL/commands/
share/doc/p7zip/MANUAL/commands/add.htm
share/doc/p7zip/MANUAL/commands/bench.htm
share/doc/p7zip/MANUAL/commands/delete.htm
share/doc/p7zip/MANUAL/commands/extract.htm
share/doc/p7zip/MANUAL/commands/extract_full.htm

View File

@ -1,4 +1,3 @@
@comment $OpenBSD: PLIST-rar,v 1.1.1.1 2007/04/20 17:50:05 steven Exp $
@comment $OpenBSD: PLIST-rar,v 1.2 2007/05/08 17:59:15 naddy Exp $
lib/p7zip/Codecs/Rar29.so
lib/p7zip/Formats/Rar.so
share/doc/p7zip/unRarLicense.txt