diff --git a/backport-aarch64-ilp32-support.patch b/backport-aarch64-ilp32-support.patch new file mode 100644 index 0000000..1213cbd --- /dev/null +++ b/backport-aarch64-ilp32-support.patch @@ -0,0 +1,40 @@ +From 55a0aab68d5ce90ce8bb7442ba61639c49e50c1d Mon Sep 17 00:00:00 2001 +From: root +Date: Mon, 21 Sep 2020 09:45:33 +0800 +Subject: [PATCH] aarch64 ilp32 support +https://build.opensuse.org/package/view_file/devel:ARM:Factory:Contrib:ILP32/perl/aarch64-ilp32.patch?expand=1 +--- + hints/linux.sh | 17 +++++++++++++++++ + 1 file changed, 17 insertions(+) + +diff --git a/hints/linux.sh b/hints/linux.sh +index 3f38ea0..19dd165 100644 +--- a/hints/linux.sh ++++ b/hints/linux.sh +@@ -298,6 +298,23 @@ sparc*) + ;; + esac + ++case $archname in ++ arch64-linux) ++ cat >try.c <<'EOM' ++#include ++main() { ++int ilp32 = 0; ++#ifdef __ILP32__ ++ilp32 = 1; ++#endif ++exit(!ilp32); ++EOM ++if ${cc:-gcc} $ccflags $ldflags try.c >/dev/null 2>&1 && $run ./a.out; then ++ archname=aarch64-ilp32-linux ++fi ++ ;; ++esac ++ + # SuSE8.2 has /usr/lib/libndbm* which are ld scripts rather than + # true libraries. The scripts cause binding against static + # version of -lgdbm which is a bad idea. So if we have 'nm' +-- +2.23.0 + diff --git a/backport-perl-5.22.0-Install-libperl.so-to-shrpdir-on-Linux.patch b/backport-perl-5.22.0-Install-libperl.so-to-shrpdir-on-Linux.patch new file mode 100644 index 0000000..2f66378 --- /dev/null +++ b/backport-perl-5.22.0-Install-libperl.so-to-shrpdir-on-Linux.patch @@ -0,0 +1,65 @@ +From 9644657c4 10326749fd321d9c24944ec25afad2f Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Thu, 20 Jun 2013 15:22:53 +0200 +Subject: [PATCH] Install libperl.so to shrpdir on Linux +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Reason:Install libperl.so to shrpdir on Linux +Conflict:NA +Reference:https://src.fedoraproject.org/rpms/perl/blob/master/f/perl-5.22.0-Install-libperl.so-to-shrpdir-on-Linux.patch + +Signed-off-by: Petr Písař +--- + Configure | 7 ++++--- + Makefile.SH | 2 +- + 2 files changed, 5 insertions(+), 4 deletions(-) + +diff --git a/Configure b/Configure +index 2f30261..825496e 100755 +--- a/Configure ++++ b/Configure +@@ -8762,7 +8762,9 @@ esac + + # Detect old use of shrpdir via undocumented Configure -Dshrpdir + case "$shrpdir" in +-'') ;; ++'') ++shrpdir=$archlibexp/CORE ++;; + *) $cat >&4 < - 4:5.28.3-5 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:support for i686 and remove perl-devel from perl + * Fri Jan 8 2021 tianwei - 4:5.28.3-4 - Type:enhancement - ID:NA