diff options
author | Michele Calgaro <[email protected]> | 2021-05-11 09:49:10 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2021-05-11 10:19:06 +0900 |
commit | b61211a0480af41249bc9072c1d5c8dd1eca00f3 (patch) | |
tree | 31ac91d74c5609ecaae625d44d21fe2aca2e4cf8 | |
parent | e5d408d88409ad03b97fb4e7edda06240c1cb40b (diff) | |
download | tde-packaging-b61211a0480af41249bc9072c1d5c8dd1eca00f3.tar.gz tde-packaging-b61211a0480af41249bc9072c1d5c8dd1eca00f3.zip |
DEB pytdeextensions: adjusted patch to latest code.
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 72c87f0f8cfe2087078518f6520e6a83d788f3b1)
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' |