FreeBSD Bugzilla – Attachment 112838 Details for
Bug 154330
[maintainer-update] archivers/py-lzma: update to 0.4.3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
py26-lzma-0.4.3.patch
py26-lzma-0.4.3.patch (text/plain), 4.32 KB, created by
Sofian Brabez
on 2011-01-27 09:30:08 UTC
(
hide
)
Description:
py26-lzma-0.4.3.patch
Filename:
MIME Type:
Creator:
Sofian Brabez
Created:
2011-01-27 09:30:08 UTC
Size:
4.32 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/archivers/py-lzma/Makefile /tmp/py-lzma/Makefile >--- /usr/ports/archivers/py-lzma/Makefile 2010-11-15 10:09:19.000000000 +0100 >+++ /tmp/py-lzma/Makefile 2011-01-27 10:24:19.000000000 +0100 >@@ -6,7 +6,7 @@ > # > > PORTNAME= lzma >-PORTVERSION= 0.4.2 >+PORTVERSION= 0.4.3 > CATEGORIES= archivers python > MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >@@ -15,6 +15,11 @@ > MAINTAINER= sbrabez@gmail.com > COMMENT= Python binding for the LZMA compression library > >+LICENSE= LGPL21 >+LICENSE_FILE= ${WRKSRC}/LICENSE.txt >+ >+ONLY_FOR_ARCHS= i386 >+ > USE_PYTHON= yes > USE_PYDISTUTILS= easy_install > PYDISTUTILS_PKGNAME= py${PORTNAME} >diff -ruN --exclude=CVS /usr/ports/archivers/py-lzma/distinfo /tmp/py-lzma/distinfo >--- /usr/ports/archivers/py-lzma/distinfo 2010-11-15 10:09:19.000000000 +0100 >+++ /tmp/py-lzma/distinfo 2011-01-27 10:07:15.000000000 +0100 >@@ -1,2 +1,2 @@ >-SHA256 (pylzma-0.4.2.tar.gz) = 7d61ccae245f82714451805476b5673a8704e753431d14309987cd69f37425c7 >-SIZE (pylzma-0.4.2.tar.gz) = 93257 >+SHA256 (pylzma-0.4.3.tar.gz) = ddfc7fc7bfe1d4b84c88c981ce0c508a96766fdcdf53c415b63b3ca8f60a4239 >+SIZE (pylzma-0.4.3.tar.gz) = 104857 >diff -ruN --exclude=CVS /usr/ports/archivers/py-lzma/files/patch-setup.py /tmp/py-lzma/files/patch-setup.py >--- /usr/ports/archivers/py-lzma/files/patch-setup.py 1970-01-01 01:00:00.000000000 +0100 >+++ /tmp/py-lzma/files/patch-setup.py 2011-01-27 10:07:15.000000000 +0100 >@@ -0,0 +1,19 @@ >+--- ./setup.py.orig 2010-10-23 22:50:04.000000000 +0200 >++++ ./setup.py 2011-01-27 02:30:39.000000000 +0100 >+@@ -27,13 +27,10 @@ >+ from distutils import log >+ from distutils.command.build_ext import build_ext as _build_ext >+ >+-try: >+- from setuptools import setup, Extension >+-except ImportError: >+- from ez_setup import use_setuptools >+- use_setuptools() >++from ez_setup import use_setuptools >++use_setuptools() >+ >+- from setuptools import setup, Extension >++from setuptools import setup, Extension >+ >+ class UnsupportedPlatformWarning(Warning): >+ pass >diff -ruN --exclude=CVS /usr/ports/archivers/py-lzma/files/patch-src__7zip__C__CpuArch.c /tmp/py-lzma/files/patch-src__7zip__C__CpuArch.c >--- /usr/ports/archivers/py-lzma/files/patch-src__7zip__C__CpuArch.c 1970-01-01 01:00:00.000000000 +0100 >+++ /tmp/py-lzma/files/patch-src__7zip__C__CpuArch.c 2011-01-27 10:07:15.000000000 +0100 >@@ -0,0 +1,26 @@ >+--- ./src/7zip/C/CpuArch.c.orig 2010-07-21 22:13:50.000000000 +0200 >++++ ./src/7zip/C/CpuArch.c 2011-01-27 02:31:44.000000000 +0100 >+@@ -72,14 +72,15 @@ >+ >+ #else >+ >+- __asm__ __volatile__ ( >+- "cpuid" >+- : "=a" (*a) , >+- "=b" (*b) , >+- "=c" (*c) , >+- "=d" (*d) >+- : "0" (function)) ; >+- >++ /* fix GCC build error with -fPIC by storing ebx value before calling cpuid */ >++ __asm__ __volatile__( >++ "pushl %%ebx \n\t" >++ "cpuid \n\t" >++ "movl %%ebx, %1 \n\t" >++ "popl %%ebx \n\t" >++ : "=a"(*a), "=r"(*b), "=c"(*c), "=d"(*d) >++ : "a"(function) >++ : "cc"); >+ #endif >+ >+ #else >diff -ruN --exclude=CVS /usr/ports/archivers/py-lzma/files/patch-src__compat__LzmaCompatDecode.h /tmp/py-lzma/files/patch-src__compat__LzmaCompatDecode.h >--- /usr/ports/archivers/py-lzma/files/patch-src__compat__LzmaCompatDecode.h 2010-11-11 16:36:14.000000000 +0100 >+++ /tmp/py-lzma/files/patch-src__compat__LzmaCompatDecode.h 2011-01-27 10:07:15.000000000 +0100 >@@ -1,5 +1,5 @@ > --- ./src/compat/LzmaCompatDecode.h.orig 2010-04-24 00:26:40.000000000 +0200 >-+++ ./src/compat/LzmaCompatDecode.h 2010-11-11 00:20:51.000000000 +0100 >++++ ./src/compat/LzmaCompatDecode.h 2011-01-27 02:30:39.000000000 +0100 > @@ -39,14 +39,6 @@ > # define LZMACALL > #endif >diff -ruN --exclude=CVS /usr/ports/archivers/py-lzma/pkg-plist /tmp/py-lzma/pkg-plist >--- /usr/ports/archivers/py-lzma/pkg-plist 2010-11-15 10:09:19.000000000 +0100 >+++ /tmp/py-lzma/pkg-plist 2011-01-27 10:07:15.000000000 +0100 >@@ -5,6 +5,7 @@ > %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/native_libs.txt > %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe > %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt >+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt > %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/py7zlib.py > %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/py7zlib.pyc > %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/py7zlib.pyo
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 154330
: 112838