From 143b8ac9fa5ddfbdf0e755727aca5149e7f3fe26 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 22 Nov 2011 15:03:41 -0600 Subject: Fix sip4-tqt FTBFS on Ubuntu and add sip4-tqt to Debian --- .../sip4-tqt/debian/patches/siputils_objdir_module_fix.diff | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ubuntu/maverick/dependencies/sip4-tqt/debian/patches') 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)) -- cgit v1.2.1