FreeBSD Bugzilla – Attachment 74104 Details for
Bug 107266
[PATCH] archivers/py-lzma: update to 0.3.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
py24-lzma-0.3.0.patch
py24-lzma-0.3.0.patch (text/plain), 2.89 KB, created by
Li-Wen Hsu
on 2006-12-28 09:00:26 UTC
(
hide
)
Description:
py24-lzma-0.3.0.patch
Filename:
MIME Type:
Creator:
Li-Wen Hsu
Created:
2006-12-28 09:00:26 UTC
Size:
2.89 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/archivers/py-lzma/Makefile /home/lwhsu/ports/archivers/py-lzma/Makefile >--- /usr/ports/archivers/py-lzma/Makefile Wed May 3 05:14:03 2006 >+++ /home/lwhsu/ports/archivers/py-lzma/Makefile Thu Dec 28 06:31:04 2006 >@@ -6,7 +6,7 @@ > # > > PORTNAME= lzma >-PORTVERSION= 0.0.3 >+PORTVERSION= 0.3.0 > CATEGORIES= archivers python > MASTER_SITES= http://www.joachim-bauch.de/projects/python/pylzma/releases/ > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >@@ -17,9 +17,5 @@ > > USE_PYTHON= yes > USE_PYDISTUTILS=yes >- >-post-patch: >- ${FIND} ${WRKSRC} -name '*.cpp' -or -name '*.c' -or \ >- -name '*.h' | ${XARGS} -n1 ${REINPLACE_CMD} 's/ //g' > > .include <bsd.port.mk> >diff -ruN --exclude=CVS /usr/ports/archivers/py-lzma/distinfo /home/lwhsu/ports/archivers/py-lzma/distinfo >--- /usr/ports/archivers/py-lzma/distinfo Sun Jan 22 06:58:29 2006 >+++ /home/lwhsu/ports/archivers/py-lzma/distinfo Mon Dec 25 19:59:16 2006 >@@ -1,3 +1,3 @@ >-MD5 (pylzma-0.0.3.tar.gz) = 312416b2cdf6f4b82ec8fc7a816f74a4 >-SHA256 (pylzma-0.0.3.tar.gz) = 015849140788bb8d3f8ddbee3d7f626d9854a342fc1f541ff7f9f297eaa63038 >-SIZE (pylzma-0.0.3.tar.gz) = 73057 >+MD5 (pylzma-0.3.0.tar.gz) = 7ab1a1706cf3e19f2d10579d795babf7 >+SHA256 (pylzma-0.3.0.tar.gz) = 3c110341150bcff08cbe46f9236bb10a71ce00bebd626cb08327af148c03921c >+SIZE (pylzma-0.3.0.tar.gz) = 117440 >diff -ruN --exclude=CVS /usr/ports/archivers/py-lzma/files/patch-7zip-LzmaCompatDecode.h /home/lwhsu/ports/archivers/py-lzma/files/patch-7zip-LzmaCompatDecode.h >--- /usr/ports/archivers/py-lzma/files/patch-7zip-LzmaCompatDecode.h Thu Jan 1 00:00:00 1970 >+++ /home/lwhsu/ports/archivers/py-lzma/files/patch-7zip-LzmaCompatDecode.h Thu Dec 28 06:28:53 2006 >@@ -0,0 +1,13 @@ >+--- 7zip/LzmaCompatDecode.h.orig Thu Dec 28 06:27:50 2006 >++++ 7zip/LzmaCompatDecode.h Thu Dec 28 06:27:56 2006 >+@@ -39,10 +39,6 @@ >+ # define LZMACALL >+ #endif >+ >+-#ifndef malloc >+-#include <malloc.h> >+-#endif >+- >+ #ifndef UInt32 >+ #ifdef _LZMA_UINT32_IS_ULONG >+ #define UInt32 unsigned long >diff -ruN --exclude=CVS /usr/ports/archivers/py-lzma/files/patch-RangeCoderBit.h /home/lwhsu/ports/archivers/py-lzma/files/patch-RangeCoderBit.h >--- /usr/ports/archivers/py-lzma/files/patch-RangeCoderBit.h Sat Aug 14 05:32:42 2004 >+++ /home/lwhsu/ports/archivers/py-lzma/files/patch-RangeCoderBit.h Thu Jan 1 00:00:00 1970 >@@ -1,20 +0,0 @@ >---- 7zip/7zip/Compress/LZMA/../RangeCoder/RangeCoderBit.h.orig Wed Apr 28 07:17:33 2004 >-+++ 7zip/7zip/Compress/LZMA/../RangeCoder/RangeCoderBit.h Sat Aug 14 14:30:03 2004 >-@@ -38,6 +38,8 @@ >- UINT32 Probability; >- void UpdateModel(UINT32 symbol) >- { >-+#define Probability (this->Probability) >-+#define UpdateModel (this->UpdateModel) >- /* >- Probability -= (Probability + ((symbol - 1) & ((1 << aNumMoveBits) - 1))) >> aNumMoveBits; >- Probability += (1 - symbol) << (kNumBitModelTotalBits - aNumMoveBits); >-@@ -100,6 +102,8 @@ >- } >- } >- }; >-+#undef Probability >-+#undef UpdateModel >- >- }} >-
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 107266
: 74104