[72672] trunk/dports/graphics/scantailor

raphael at macports.org raphael at macports.org
Sat Oct 23 02:02:59 PDT 2010


Revision: 72672
          http://trac.macports.org/changeset/72672
Author:   raphael at macports.org
Date:     2010-10-23 02:02:55 -0700 (Sat, 23 Oct 2010)
Log Message:
-----------
scantailor:

* fix build problem with the qt4 portgroup
* whitespace changes to make patch happy

Modified Paths:
--------------
    trunk/dports/graphics/scantailor/Portfile
    trunk/dports/graphics/scantailor/files/patch-ProjectFilesDialog.cpp.diff

Modified: trunk/dports/graphics/scantailor/Portfile
===================================================================
--- trunk/dports/graphics/scantailor/Portfile	2010-10-23 08:57:19 UTC (rev 72671)
+++ trunk/dports/graphics/scantailor/Portfile	2010-10-23 09:02:55 UTC (rev 72672)
@@ -35,6 +35,8 @@
 
 patchfiles                      patch-ProjectFilesDialog.cpp.diff
 
+configure.args-append           ${qt_cmake_defines}
+
 post-destroot {                 set docdir ${destroot}${prefix}/share/doc/${name}
                                 xinstall -d ${docdir}
                                 xinstall -m 644 -W ${worksrcpath} \

Modified: trunk/dports/graphics/scantailor/files/patch-ProjectFilesDialog.cpp.diff
===================================================================
--- trunk/dports/graphics/scantailor/files/patch-ProjectFilesDialog.cpp.diff	2010-10-23 08:57:19 UTC (rev 72671)
+++ trunk/dports/graphics/scantailor/files/patch-ProjectFilesDialog.cpp.diff	2010-10-23 09:02:55 UTC (rev 72672)
@@ -1,17 +1,17 @@
---- ProjectFilesDialog.cpp
-+++ ProjectFilesDialog.cpp
-@@ -697,9 +697,13 @@ ProjectFilesDialog::FileList::remove(QItemSelection const& selection)
+--- ProjectFilesDialog.cpp.orig	2010-10-22 19:17:12.000000000 +0200
++++ ProjectFilesDialog.cpp	2010-10-22 19:17:16.000000000 +0200
+@@ -697,9 +697,13 @@
  			bind(&QItemSelectionRange::bottom, _1)
  		)
  	);
-+	
++
 +	// This hack is required to make it build with boost 1.44.
 +	typedef int const Range::* IntMemPtr;
-+	
++
  	std::sort(
  		sorted_ranges.begin(), sorted_ranges.end(),
 -		bind(&Range::first, _1) < bind(&Range::first, _2)
 +		bind((IntMemPtr)&Range::first, _1) < bind((IntMemPtr)&Range::first, _2)
  	);
  	
- 	QVectorIterator<Range> it(sorted_ranges);
\ No newline at end of file
+ 	QVectorIterator<Range> it(sorted_ranges);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101023/6e67bf45/attachment.html>


More information about the macports-changes mailing list