From b61211a0480af41249bc9072c1d5c8dd1eca00f3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 11 May 2021 09:49:10 +0900 Subject: DEB pytdeextensions: adjusted patch to latest code. Signed-off-by: Michele Calgaro (cherry picked from commit 72c87f0f8cfe2087078518f6520e6a83d788f3b1) --- .../pytdeextensions/debian/patches/11_fix_get_libdir_name.diff | 4 ++-- .../pytdeextensions/debian/patches/11_fix_get_libdir_name.diff | 4 ++-- .../pytdeextensions/debian/patches/11_fix_get_libdir_name.diff | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/debian/_base/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff b/debian/_base/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff index 3a65ff190..281d388c7 100644 --- a/debian/_base/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff +++ b/debian/_base/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff @@ -6,10 +6,10 @@ Index: b/src/tdedistutils.py ########################################################################### def get_libdir_name(): -- if os.uname()[4] in ['x86_64','mips64','ppc64','sparc64','s390x']: +- if os.uname()[4] in ['x86_64','mips64','ppc64','sparc64','s390x','aarch64','ppc64le']: - return 'lib64' - else: -+ #if os.uname()[4] in ['x86_64','mips64','ppc64','sparc64','s390x']: ++ #if os.uname()[4] in ['x86_64','mips64','ppc64','sparc64','s390x','aarch64','ppc64le']: + # return 'lib64' + #else: return 'lib' diff --git a/dilos/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff b/dilos/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff index 3a65ff190..281d388c7 100644 --- a/dilos/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff +++ b/dilos/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff @@ -6,10 +6,10 @@ Index: b/src/tdedistutils.py ########################################################################### def get_libdir_name(): -- if os.uname()[4] in ['x86_64','mips64','ppc64','sparc64','s390x']: +- if os.uname()[4] in ['x86_64','mips64','ppc64','sparc64','s390x','aarch64','ppc64le']: - return 'lib64' - else: -+ #if os.uname()[4] in ['x86_64','mips64','ppc64','sparc64','s390x']: ++ #if os.uname()[4] in ['x86_64','mips64','ppc64','sparc64','s390x','aarch64','ppc64le']: + # return 'lib64' + #else: return 'lib' diff --git a/ubuntu/_base/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff b/ubuntu/_base/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff index 3a65ff190..281d388c7 100644 --- a/ubuntu/_base/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff +++ b/ubuntu/_base/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff @@ -6,10 +6,10 @@ Index: b/src/tdedistutils.py ########################################################################### def get_libdir_name(): -- if os.uname()[4] in ['x86_64','mips64','ppc64','sparc64','s390x']: +- if os.uname()[4] in ['x86_64','mips64','ppc64','sparc64','s390x','aarch64','ppc64le']: - return 'lib64' - else: -+ #if os.uname()[4] in ['x86_64','mips64','ppc64','sparc64','s390x']: ++ #if os.uname()[4] in ['x86_64','mips64','ppc64','sparc64','s390x','aarch64','ppc64le']: + # return 'lib64' + #else: return 'lib' -- cgit v1.2.1