summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/dependencies/sip4-tqt/debian/patches
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-22 15:03:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-22 15:03:41 -0600
commit143b8ac9fa5ddfbdf0e755727aca5149e7f3fe26 (patch)
tree8d971cfbd68b2d7180f52d2753d04c0a8b1e985b /ubuntu/maverick/dependencies/sip4-tqt/debian/patches
parent99d9097f5e112ca8605e28ae36fd748c19d3e9b0 (diff)
downloadtde-packaging-143b8ac9fa5ddfbdf0e755727aca5149e7f3fe26.tar.gz
tde-packaging-143b8ac9fa5ddfbdf0e755727aca5149e7f3fe26.zip
Fix sip4-tqt FTBFS on Ubuntu and add sip4-tqt to Debian
Diffstat (limited to 'ubuntu/maverick/dependencies/sip4-tqt/debian/patches')
-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))