[59309] trunk/dports/kde/amarok
sharky at macports.org
sharky at macports.org
Tue Oct 13 06:19:32 PDT 2009
Revision: 59309
http://trac.macports.org/changeset/59309
Author: sharky at macports.org
Date: 2009-10-13 06:19:29 -0700 (Tue, 13 Oct 2009)
Log Message:
-----------
amarok: fix compilation error due to missing cast
Modified Paths:
--------------
trunk/dports/kde/amarok/Portfile
Added Paths:
-----------
trunk/dports/kde/amarok/files/
trunk/dports/kde/amarok/files/patch-src-app-mac.patch
Modified: trunk/dports/kde/amarok/Portfile
===================================================================
--- trunk/dports/kde/amarok/Portfile 2009-10-13 13:16:15 UTC (rev 59308)
+++ trunk/dports/kde/amarok/Portfile 2009-10-13 13:19:29 UTC (rev 59309)
@@ -23,6 +23,10 @@
port:loudmouth \
path:lib/mysql5/libmysqld.a:mysql5-devel
+patchfiles patch-src-app-mac.patch
+patch.dir ${workpath}/${distname}
+patch.pre_args -p1
+
configure.env QTDIR=${prefix}/libexec/qt4-mac
configure.args-append ../${distname}
Added: trunk/dports/kde/amarok/files/patch-src-app-mac.patch
===================================================================
--- trunk/dports/kde/amarok/files/patch-src-app-mac.patch (rev 0)
+++ trunk/dports/kde/amarok/files/patch-src-app-mac.patch 2009-10-13 13:19:29 UTC (rev 59309)
@@ -0,0 +1,15 @@
+Index: amarok-2.2.0/src/app_mac.cpp
+===================================================================
+--- amarok-2.2.0.orig/src/app_mac.cpp 2009-09-28 19:34:03.000000000 +0200
++++ amarok-2.2.0/src/app_mac.cpp 2009-10-13 14:14:49.000000000 +0200
+@@ -91,8 +91,8 @@
+ setupEventHandler_mac(long handlerRef)
+ {
+ appleEventProcessorUPP = AEEventHandlerUPP(appleEventProcessor);
+- AEInstallEventHandler(kCoreEventClass, kAEReopenApplication, appleEventProcessorUPP, handlerRef, true);
++ AEInstallEventHandler(kCoreEventClass, kAEReopenApplication, appleEventProcessorUPP, (void*) handlerRef, true);
+ macCallbackUrlHandlerUPP = AEEventHandlerUPP(macCallbackUrlHandler);
+- AEInstallEventHandler(kInternetEventClass, kAEGetURL, macCallbackUrlHandlerUPP, handlerRef, false);
++ AEInstallEventHandler(kInternetEventClass, kAEGetURL, macCallbackUrlHandlerUPP, (void*) handlerRef, false);
+ }
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091013/8defcdbe/attachment-0001.html>
More information about the macports-changes
mailing list