diff options
author | Francois Andriot <francois.andriot@free.fr> | 2012-10-21 19:27:55 +0200 |
---|---|---|
committer | Francois Andriot <francois.andriot@free.fr> | 2012-10-21 19:27:55 +0200 |
commit | eebed6b614c52895321754908c05b5082f531b85 (patch) | |
tree | 56bf0c5f54512c2fd8ed02cbe16d1da83b723461 /redhat/libraries/pykdeextensions/pykdeextensions-3.5.13.1-fix_extra_module_dir.patch | |
parent | 59daf455b483742c6c47099652117074df37889a (diff) | |
download | tde-packaging-eebed6b614c52895321754908c05b5082f531b85.tar.gz tde-packaging-eebed6b614c52895321754908c05b5082f531b85.zip |
RHEL/Fedora/MGA/MDV/Suse: update main and libraries for TDE 3.5.13.1
Diffstat (limited to 'redhat/libraries/pykdeextensions/pykdeextensions-3.5.13.1-fix_extra_module_dir.patch')
-rw-r--r-- | redhat/libraries/pykdeextensions/pykdeextensions-3.5.13.1-fix_extra_module_dir.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/redhat/libraries/pykdeextensions/pykdeextensions-3.5.13.1-fix_extra_module_dir.patch b/redhat/libraries/pykdeextensions/pykdeextensions-3.5.13.1-fix_extra_module_dir.patch new file mode 100644 index 000000000..2a1cfee6c --- /dev/null +++ b/redhat/libraries/pykdeextensions/pykdeextensions-3.5.13.1-fix_extra_module_dir.patch @@ -0,0 +1,18 @@ +--- pykdeextensions-3.5.13.1/src/kdedistutils.py.extramodule 2012-09-08 17:33:05.000000000 +0000 ++++ pykdeextensions-3.5.13.1/src/kdedistutils.py 2012-10-02 19:19:40.185384207 +0000 +@@ -712,6 +712,7 @@ + + # Build the 'stub' code. + cppcode = self.cpptemplate % {"moduledir": self.data_dir, ++ "extramodule": os.getenv("EXTRA_MODULE_DIR"), + "modulename": modulename, + "factoryfunction": factoryfunction, + "python_version": python_version} +@@ -854,6 +855,7 @@ + #include <sip.h> + + #define MODULE_DIR "%(moduledir)s" ++#define EXTRA_MODULE_DIR "%(extramodule)s" + #define MODULE_NAME "%(modulename)s" + #define FACTORY "%(factoryfunction)s" + #define CPP_FACTORY %(factoryfunction)s |