!21 [sync] PR-20: 添加sw架构
From: @openeuler-sync-bot Reviewed-by: @dillon_chen Signed-off-by: @dillon_chen
This commit is contained in:
commit
95ef717c79
24
zziplib-0.13.71-sw.patch
Executable file
24
zziplib-0.13.71-sw.patch
Executable file
@ -0,0 +1,24 @@
|
||||
diff -Naur zziplib-0.13.71.org/configure zziplib-0.13.71.sw/configure
|
||||
--- zziplib-0.13.71.org/configure 2022-02-28 06:07:23.580000000 +0000
|
||||
+++ zziplib-0.13.71.sw/configure 2022-02-28 06:08:52.270000000 +0000
|
||||
@@ -14802,7 +14802,7 @@
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
if test "$cross_compiling" = "yes"; then
|
||||
- case "$host_cpu" in alpha*|arm*|bfin*|hp*|mips*|sh*|sparc*|ia64|nv1)
|
||||
+ case "$host_cpu" in sw_64*|alpha*|arm*|bfin*|hp*|mips*|sh*|sparc*|ia64|nv1)
|
||||
ax_cv_have_aligned_access_required="yes"
|
||||
;; esac
|
||||
else
|
||||
diff -Naur zziplib-0.13.71.org/m4/ax_check_aligned_access_required.m4 zziplib-0.13.71.sw/m4/ax_check_aligned_access_required.m4
|
||||
--- zziplib-0.13.71.org/m4/ax_check_aligned_access_required.m4 2022-02-28 06:07:23.590000000 +0000
|
||||
+++ zziplib-0.13.71.sw/m4/ax_check_aligned_access_required.m4 2022-02-28 06:08:21.470000000 +0000
|
||||
@@ -29,7 +29,7 @@
|
||||
[AC_CACHE_CHECK([if pointers to integers require aligned access],
|
||||
[ax_cv_have_aligned_access_required],
|
||||
[if test "$cross_compiling" = "yes"; then
|
||||
- case "$host_cpu" in alpha*|arm*|bfin*|hp*|mips*|sh*|sparc*|ia64|nv1)
|
||||
+ case "$host_cpu" in sw_64*|alpha*|arm*|bfin*|hp*|mips*|sh*|sparc*|ia64|nv1)
|
||||
ax_cv_have_aligned_access_required="yes"
|
||||
;; esac
|
||||
else
|
||||
@ -4,7 +4,7 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
|
||||
Name: zziplib
|
||||
Version: 0.13.71
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: Lightweight library for zip compression
|
||||
License: LGPLv2+ or MPLv1.1
|
||||
URL: http://zziplib.sourceforge.net
|
||||
@ -17,6 +17,7 @@ Patch6003: backport-0004-CVE-2020-18442.patch
|
||||
Patch6004: backport-0005-CVE-2020-18442.patch
|
||||
Patch6005: backport-0006-CVE-2020-18442.patch
|
||||
Patch6006: backport-0007-CVE-2020-18442.patch
|
||||
Patch6007: zziplib-0.13.71-sw.patch
|
||||
|
||||
BuildRequires: perl-interpreter zip xmlto
|
||||
BuildRequires: zlib-devel SDL-devel pkgconfig autoconf automake gcc make
|
||||
@ -58,6 +59,7 @@ sed -i -e 's:docs ::g' Makefile.am
|
||||
%patch6004 -p1
|
||||
%patch6005 -p1
|
||||
%patch6006 -p1
|
||||
%patch6007 -p1
|
||||
|
||||
%build
|
||||
%configure --disable-static --enable-sdl --enable-frame-pointer --enable-builddir=_builddir
|
||||
@ -91,6 +93,9 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Oct 26 2022 wuzx<wuzx1226@qq.com> - 0.13.71-4
|
||||
- Add sw64 architecture
|
||||
|
||||
* Sat Sep 04 2021 shixuantong <shixuantong@huawei.com> - 0.13.71-3
|
||||
- remove rpath
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user