[113829] trunk/dports/kde/kmix

nicos at macports.org nicos at macports.org
Sun Nov 24 07:37:02 PST 2013


Revision: 113829
          https://trac.macports.org/changeset/113829
Author:   nicos at macports.org
Date:     2013-11-24 07:37:01 -0800 (Sun, 24 Nov 2013)
Log Message:
-----------
kmix: fix build on Mavericks

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

Added Paths:
-----------
    trunk/dports/kde/kmix/files/patch-C11-headers.diff

Modified: trunk/dports/kde/kmix/Portfile
===================================================================
--- trunk/dports/kde/kmix/Portfile	2013-11-24 15:35:17 UTC (rev 113828)
+++ trunk/dports/kde/kmix/Portfile	2013-11-24 15:37:01 UTC (rev 113829)
@@ -23,6 +23,11 @@
 depends_lib-append  port:kdelibs4 \
                     port:libcanberra
 
+if { ${os.major} >= 13 } {
+    #Ensure that proper headers are used
+    patchfiles-append   patch-C11-headers.diff
+}
+
 if {![variant_isset docs]} {
     patchfiles-append   patch-CMakeLists.txt.diff
 }

Added: trunk/dports/kde/kmix/files/patch-C11-headers.diff
===================================================================
--- trunk/dports/kde/kmix/files/patch-C11-headers.diff	                        (rev 0)
+++ trunk/dports/kde/kmix/files/patch-C11-headers.diff	2013-11-24 15:37:01 UTC (rev 113829)
@@ -0,0 +1,10 @@
+--- CMakeLists.txt.orig	2013-11-24 23:36:18.000000000 +0900
++++ CMakeLists.txt	2013-11-24 23:37:05.000000000 +0900
+@@ -16,6 +16,7 @@
+ 
+ alsa_configure_file(${CMAKE_BINARY_DIR}/config-alsa.h)
+ 
++SET( CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -DHAVE_STD_SHARED_PTR" )
+ 
+ add_definitions (${QT_DEFINITIONS} ${QT_QTDBUS_DEFINITIONS} ${KDE4_DEFINITIONS} )
+ add_definitions(-DKDE_DEFAULT_DEBUG_AREA=67100)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131124/1f40535c/attachment.html>


More information about the macports-changes mailing list