From 9a55b89a237e250d3f3f2dfe2bd768cd0b09828d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 13 Jun 2012 21:02:52 -0500 Subject: [PATCH] Add 11_fix_get_libdir_name.diff back to distro-specific patches for pytdeextensions --- .../debian/patches/11_fix_get_libdir_name.diff | 14 ++++++++++++++ .../debian/patches/11_fix_get_libdir_name.diff | 14 ++++++++++++++ .../debian/patches/11_fix_get_libdir_name.diff | 14 ++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 debian/lenny/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff create mode 100644 debian/squeeze/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff create mode 100644 ubuntu/maverick/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff diff --git a/debian/lenny/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff b/debian/lenny/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff new file mode 100644 index 000000000..dc0a1227d --- /dev/null +++ b/debian/lenny/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff @@ -0,0 +1,14 @@ +diff -Nur pytdeextensions/src/kdedistutils.py pytdeextensions/src/kdedistutils.py +--- pytdeextensions/src/kdedistutils.py ++++ pytdeextensions/src/kdedistutils.py +@@ -2184,7 +2184,7 @@ + + ########################################################################### + def get_libdir_name(): +- if os.uname()[4] in ['x86_64','mips64','ppc64','sparc64','s390x']: +- return 'lib64' +- else: ++ #if os.uname()[4] in ['x86_64','mips64','ppc64','sparc64','s390x']: ++ # return 'lib64' ++ #else: + return 'lib' diff --git a/debian/squeeze/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff b/debian/squeeze/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff new file mode 100644 index 000000000..dc0a1227d --- /dev/null +++ b/debian/squeeze/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff @@ -0,0 +1,14 @@ +diff -Nur pytdeextensions/src/kdedistutils.py pytdeextensions/src/kdedistutils.py +--- pytdeextensions/src/kdedistutils.py ++++ pytdeextensions/src/kdedistutils.py +@@ -2184,7 +2184,7 @@ + + ########################################################################### + def get_libdir_name(): +- if os.uname()[4] in ['x86_64','mips64','ppc64','sparc64','s390x']: +- return 'lib64' +- else: ++ #if os.uname()[4] in ['x86_64','mips64','ppc64','sparc64','s390x']: ++ # return 'lib64' ++ #else: + return 'lib' diff --git a/ubuntu/maverick/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff b/ubuntu/maverick/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff new file mode 100644 index 000000000..dc0a1227d --- /dev/null +++ b/ubuntu/maverick/libraries/pytdeextensions/debian/patches/11_fix_get_libdir_name.diff @@ -0,0 +1,14 @@ +diff -Nur pytdeextensions/src/kdedistutils.py pytdeextensions/src/kdedistutils.py +--- pytdeextensions/src/kdedistutils.py ++++ pytdeextensions/src/kdedistutils.py +@@ -2184,7 +2184,7 @@ + + ########################################################################### + def get_libdir_name(): +- if os.uname()[4] in ['x86_64','mips64','ppc64','sparc64','s390x']: +- return 'lib64' +- else: ++ #if os.uname()[4] in ['x86_64','mips64','ppc64','sparc64','s390x']: ++ # return 'lib64' ++ #else: + return 'lib'