ports/107266: [PATCH] archivers/py-lzma: update to 0.3.0
Li-Wen Hsu
lwhsu at lwhsu.org
Thu Dec 28 09:00:27 UTC 2006
>Number: 107266
>Category: ports
>Synopsis: [PATCH] archivers/py-lzma: update to 0.3.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Dec 28 09:00:26 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Li-Wen Hsu
>Release: FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD jail0.lwhsu.csie.net 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Wed Dec 6 11:34:36 CST
>Description:
- Update to 0.3.0
Added file(s):
- files/patch-7zip-LzmaCompatDecode.h
Removed file(s):
- files/patch-RangeCoderBit.h
Port maintainer (perky at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- py24-lzma-0.3.0.patch begins here ---
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
-
- }}
-
--- py24-lzma-0.3.0.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list