summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2021-05-11 09:49:10 +0900
committerMichele Calgaro <[email protected]>2021-05-11 10:19:06 +0900
commitb61211a0480af41249bc9072c1d5c8dd1eca00f3 (patch)
tree31ac91d74c5609ecaae625d44d21fe2aca2e4cf8
parente5d408d88409ad03b97fb4e7edda06240c1cb40b (diff)
downloadtde-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)
-rw-r--r--debian/_base/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff4
-rw-r--r--dilos/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff4
-rw-r--r--ubuntu/_base/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff4
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'