summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/maverick/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff')
-rw-r--r--ubuntu/maverick/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff6
1 files changed, 3 insertions, 3 deletions
diff --git a/ubuntu/maverick/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff b/ubuntu/maverick/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff
index 3391b4a28..a9d580737 100644
--- a/ubuntu/maverick/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff
+++ b/ubuntu/maverick/dependencies/sip4-tqt/debian/patches/siputils_objdir_module_fix.diff
@@ -5,14 +5,14 @@ Index: sip4-qt3-4.10/siputils.py
@@ -1546,9 +1546,12 @@
mfile.write("\n$(OFILES): $(HFILES)\n")
- for mf in self._build["moc_headers"].split():
+ for mf in self._build["tqmoc_headers"].split():
- root, discard = os.path.splitext(mf)
+ root, _ = os.path.splitext(mf)
- cpp = "moc_" + root + ".cpp"
+ cpp = "tqmoc_" + root + ".cpp"
+ if self._src_dir != self.dir:
+ mf = os.path.join(self._src_dir, mf)
+
mfile.write("\n%s: %s\n" % (cpp, mf))
- mfile.write("\t$(MOC) -o %s %s\n" % (cpp, mf))
+ mfile.write("\t$(TQMOC) -o %s %s\n" % (cpp, mf))