[84884] trunk/dports/kde/amarok

ryandesign at macports.org ryandesign at macports.org
Mon Oct 3 18:41:37 PDT 2011


Revision: 84884
          http://trac.macports.org/changeset/84884
Author:   ryandesign at macports.org
Date:     2011-10-03 18:41:36 -0700 (Mon, 03 Oct 2011)
Log Message:
-----------
amarok: fix build with latest kde; see #30554

Modified Paths:
--------------
    trunk/dports/kde/amarok/Portfile

Added Paths:
-----------
    trunk/dports/kde/amarok/files/
    trunk/dports/kde/amarok/files/patch-bind_dataengine.h.diff

Modified: trunk/dports/kde/amarok/Portfile
===================================================================
--- trunk/dports/kde/amarok/Portfile	2011-10-04 01:26:33 UTC (rev 84883)
+++ trunk/dports/kde/amarok/Portfile	2011-10-04 01:41:36 UTC (rev 84884)
@@ -28,6 +28,8 @@
                     port:loudmouth port:qca port:libmtp port:libgpod \
                     path:lib/mysql5/mysql/libmysqld.a:mysql5
 
+patchfiles          patch-bind_dataengine.h.diff
+
 post-patch {
     # fix 32/64-bit pointer for 'this' in AE
     reinplace "s at long@URefCon at g" ${workpath}/${distname}/src/app_mac.cpp

Added: trunk/dports/kde/amarok/files/patch-bind_dataengine.h.diff
===================================================================
--- trunk/dports/kde/amarok/files/patch-bind_dataengine.h.diff	                        (rev 0)
+++ trunk/dports/kde/amarok/files/patch-bind_dataengine.h.diff	2011-10-04 01:41:36 UTC (rev 84884)
@@ -0,0 +1,13 @@
+--- src/context/scriptengine/javascript/bind_dataengine.h.orig	2010-09-15 23:24:11.000000000 +0200
++++ src/context/scriptengine/javascript/bind_dataengine.h	2011-09-03 19:26:15.000000000 +0200
+@@ -29,8 +29,10 @@
+ #if !KDE_IS_VERSION(4, 4, 76)
+ Q_DECLARE_METATYPE(DataEngine*)
+ #endif
++#if !KDE_IS_VERSION(4, 6, 81)
+ Q_DECLARE_METATYPE(Service*)
+ Q_DECLARE_METATYPE(ServiceJob*)
++#endif
+ Q_DECLARE_METATYPE(QVariant)
+ Q_DECLARE_METATYPE(DataEngine::Dict)
+ Q_DECLARE_METATYPE(DataEngine::Data)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111003/74fbc1c0/attachment.html>


More information about the macports-changes mailing list