Hello community, here is the log from the commit of package upx for openSUSE:Factory checked in at 2013-04-02 20:44:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/upx (Old) and /work/SRC/openSUSE:Factory/.upx.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "upx", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/upx/upx.changes 2013-03-26 14:13:15.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.upx.new/upx.changes 2013-04-02 20:44:59.000000000 +0200 @@ -1,0 +2,10 @@ +Sun Mar 31 10:01:28 UTC 2013 - [email protected] + +- upx-aarch64.patch: Support for AArch64 + +------------------------------------------------------------------- +Wed Mar 27 14:04:01 UTC 2013 - [email protected] + +- Actually enable LZMA support, this needs LZMA SDK + +------------------------------------------------------------------- New: ---- lzma443.tar.bz2 upx-aarch64.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ upx.spec ++++++ --- /var/tmp/diff_new_pack.jxKGbz/_old 2013-04-02 20:45:00.000000000 +0200 +++ /var/tmp/diff_new_pack.jxKGbz/_new 2013-04-02 20:45:00.000000000 +0200 @@ -24,7 +24,10 @@ Group: Development/Tools/Other Url: http://upx.sourceforge.net/ Source: http://upx.sourceforge.net/download/%{name}-%{version}-src.tar.bz2 +Source1: http://sourceforge.net/projects/sevenzip/files/LZMA%20SDK/4.43/lzma443.tar.bz2 Patch0: %{name}-3.03_ia64-endianity.patch +# PATCH-FIX-UPSTREAM upx-aarch64.patch [email protected] -- Support for AArch64 +Patch1: upx-aarch64.patch BuildRequires: gcc-c++ BuildRequires: libucl1-devel BuildRequires: zlib-devel @@ -39,12 +42,23 @@ %prep %setup -q -n %{name}-%{version}-src %patch0 +%patch1 -p1 + +pushd %{_builddir} +mkdir lzma-4.43 +pushd lzma-4.43 +tar xf %{S:1} +popd +popd # BSD-4 clause licensed file, remove just in case bnc#753791 rm src/stub/src/i386-dos32.djgpp2-stubify.asm %build +export UPX_LZMADIR=%{_builddir}/lzma-4.43 +export UPX_LZMA_VERSION=0x443 export UPX_UCLDIR=%{_prefix} + make -C src CXXFLAGS="%{optflags}" make -C doc ++++++ upx-aarch64.patch ++++++ Index: upx-3.09-src/src/miniacc.h =================================================================== --- upx-3.09-src.orig/src/miniacc.h +++ upx-3.09-src/src/miniacc.h @@ -901,6 +901,9 @@ # define ACC_ARCH_CRAY_XMP 1 # define ACC_INFO_ARCH "cray_xmp" # endif +#elif defined(__aarch64__) +# define ACC_ARCH_AARCH64 1 +# define ACC_INFO_ARCH "aarch64" #else # define ACC_ARCH_UNKNOWN 1 # define ACC_INFO_ARCH "unknown" @@ -1388,6 +1391,10 @@ extern "C" { # define ACC_ABI_BIG_ENDIAN 1 #elif 1 && (ACC_ARCH_MIPS) && defined(__MIPSEL__) && !defined(__MIPSEB__) # define ACC_ABI_LITTLE_ENDIAN 1 +#elif (ACC_ARCH_AARCH64) && defined(__AARCH64EL__) +# define ACC_ABI_LITTLE_ENDIAN 1 +#elif (ACC_ARCH_AARCH64) && defined(__AARCH64EB__) +# define ACC_ABI_BIG_ENDIAN 1 #endif #endif #if (ACC_ABI_BIG_ENDIAN) && (ACC_ABI_LITTLE_ENDIAN) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
