diff options
author | wen <wen@FreeBSD.org> | 2010-04-29 14:32:50 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2010-04-29 14:32:50 +0800 |
commit | 3dca3558afe0a189d5e5505f0211c5b350df30cd (patch) | |
tree | 84df78dc925fca2047a92604011cca226e435c67 /archivers | |
parent | 9ae430b4ef3436c0d002d572c96fa142503e2c6b (diff) | |
download | freebsd-ports-gnome-3dca3558afe0a189d5e5505f0211c5b350df30cd.tar.gz freebsd-ports-gnome-3dca3558afe0a189d5e5505f0211c5b350df30cd.tar.zst freebsd-ports-gnome-3dca3558afe0a189d5e5505f0211c5b350df30cd.zip |
- Update to 9.12
PR: ports/146138
Submitted by: bf <bf1783@gmail.com> (maintainer)
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/lzma/Makefile | 7 | ||||
-rw-r--r-- | archivers/lzma/distinfo | 6 | ||||
-rw-r--r-- | archivers/lzma/files/patch-CPP_7zip_Common_CWrappers.cpp | 37 |
3 files changed, 43 insertions, 7 deletions
diff --git a/archivers/lzma/Makefile b/archivers/lzma/Makefile index 0a685c6111d2..8e3d9fc4c84a 100644 --- a/archivers/lzma/Makefile +++ b/archivers/lzma/Makefile @@ -6,10 +6,9 @@ # PORTNAME= lzma -PORTVERSION= 9.07 -PORTREVISION= 1 +PORTVERSION= 9.12 CATEGORIES= archivers -MASTER_SITES= SF/sevenzip/7-Zip/${PORTVERSION}%20beta/ +MASTER_SITES= SF/sevenzip/LZMA%20SDK/${PORTVERSION}/ DISTNAME= lzma${PORTVERSION:S/.//g} MAINTAINER= bf1783@gmail.com @@ -21,7 +20,7 @@ USE_BZIP2= yes USE_GMAKE= yes NO_WRKSUBDIR= yes USE_DOS2UNIX= yes -BUILD_WRKSRC= ${WRKSRC}/CPP/7zip/Compress/LZMA_Alone +BUILD_WRKSRC= ${WRKSRC}/CPP/7zip/Bundles/LzmaCon MAKEFILE= makefile.gcc PLIST_FILES= bin/${PORTNAME} CFLAGS+= -D_LZMA_SYSTEM_SIZE_T diff --git a/archivers/lzma/distinfo b/archivers/lzma/distinfo index bc4f1af03c4a..5db6c0765fe0 100644 --- a/archivers/lzma/distinfo +++ b/archivers/lzma/distinfo @@ -1,3 +1,3 @@ -MD5 (lzma907.tar.bz2) = 33816ccc49fd6ff269c2c5e93740d082 -SHA256 (lzma907.tar.bz2) = 62b439d823a78a989280a91f0df3948d1390fcf8f38b71f845ddd544b47e1950 -SIZE (lzma907.tar.bz2) = 507947 +MD5 (lzma912.tar.bz2) = b226ad1eb8fe3e2f922b1b067566b4cf +SHA256 (lzma912.tar.bz2) = dc79ae3226e7b93cdea80aa96917286b27eea50509ccf1fd071d38ec1d7f3d0a +SIZE (lzma912.tar.bz2) = 528978 diff --git a/archivers/lzma/files/patch-CPP_7zip_Common_CWrappers.cpp b/archivers/lzma/files/patch-CPP_7zip_Common_CWrappers.cpp new file mode 100644 index 000000000000..b861e1743faa --- /dev/null +++ b/archivers/lzma/files/patch-CPP_7zip_Common_CWrappers.cpp @@ -0,0 +1,37 @@ +--- CPP/7zip/Common/CWrappers.cpp.orig 2010-04-28 22:07:56.000000000 -0400 ++++ CPP/7zip/Common/CWrappers.cpp 2010-04-28 22:26:55.000000000 -0400 +@@ -164,13 +164,15 @@ + return 0; + } + +-extern "C" static Byte Wrap_ReadByte(void *pp) ++extern "C" { ++static Byte Wrap_ReadByte(void *pp) + { + CByteInBufWrap *p = (CByteInBufWrap *)pp; + if (p->Cur != p->Lim) + return *p->Cur++; + return p->ReadByteFromNewBlock(); + } ++} + + CByteInBufWrap::CByteInBufWrap(): Buf(0) + { +@@ -210,7 +212,8 @@ + return Res; + } + +-extern "C" static void Wrap_WriteByte(void *pp, Byte b) ++extern "C" { ++static void Wrap_WriteByte(void *pp, Byte b) + { + CByteOutBufWrap *p = (CByteOutBufWrap *)pp; + Byte *dest = p->Cur; +@@ -219,6 +222,7 @@ + if (dest == p->Lim) + p->Flush(); + } ++} + + CByteOutBufWrap::CByteOutBufWrap(): Buf(0) + { |