From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Dec 28 09:00:27 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 36C9516A47B for ; Thu, 28 Dec 2006 09:00:27 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 1157713C473 for ; Thu, 28 Dec 2006 09:00:26 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kBS90Qg6055974 for ; Thu, 28 Dec 2006 09:00:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBS90QuT055973; Thu, 28 Dec 2006 09:00:26 GMT (envelope-from gnats) Resent-Date: Thu, 28 Dec 2006 09:00:26 GMT Resent-Message-Id: <200612280900.kBS90QuT055973@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Li-Wen Hsu Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 25C6916A40F; Thu, 28 Dec 2006 08:50:33 +0000 (UTC) (envelope-from lwhsu@jail0.lwhsu.csie.net) Received: from knight.lwhsu.ckefgisc.org (lwhsu.Dorm7.NCTU.edu.tw [140.113.90.48]) by mx1.freebsd.org (Postfix) with ESMTP id BB85F13C46E; Thu, 28 Dec 2006 08:50:32 +0000 (UTC) (envelope-from lwhsu@jail0.lwhsu.csie.net) Received: from jail0.lwhsu.csie.net (jail0 [192.168.173.100]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by knight.lwhsu.ckefgisc.org (Postfix) with ESMTP id DA53A1141E; Thu, 28 Dec 2006 16:50:56 +0800 (CST) Received: (from lwhsu@localhost) by jail0.lwhsu.csie.net (8.13.8/8.13.8/Submit) id kBS8ouEh006519; Thu, 28 Dec 2006 08:50:56 GMT (envelope-from lwhsu) Message-Id: <200612280850.kBS8ouEh006519@jail0.lwhsu.csie.net> Date: Thu, 28 Dec 2006 08:50:56 GMT From: Li-Wen Hsu To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: perky@FreeBSD.org, lwhsu@lwhsu.org Subject: ports/107266: [PATCH] archivers/py-lzma: update to 0.3.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Dec 2006 09:00:27 -0000 >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@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 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 +-#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: