Ticket #43720: git-49a61a2fd7399d2a49927e328b55709cfca5b49c.patch
File git-49a61a2fd7399d2a49927e328b55709cfca5b49c.patch, 3.2 KB (added by mkae (Marko Käning), 11 years ago) |
---|
-
dports/kde/kde4-baseapps/Portfile
From: Marko Käning <mk-lists@email.de> Date: Fri, 16 May 2014 06:42:32 +0000 Subject: kdelibs4, kde4-runtime, kde4-baseapps: apply patch for kdelibs4, revbumping kde4-(runtime|baseapps) (see bko 334702) X-Git-Url: http://quickgit.kde.org/?p=macports-kde.git&a=commitdiff&h=49a61a2fd7399d2a49927e328b55709cfca5b49c --- kdelibs4, kde4-runtime, kde4-baseapps: apply patch for kdelibs4, revbumping kde4-(runtime|baseapps) (see bko 334702) ---
a b 6 6 7 7 name kde4-baseapps 8 8 version 4.12.4 9 revision 1 9 10 categories kde kde4 10 11 maintainers nicos 11 12 license GPL-2+ LGPL-2+ GFDL-1.2 -
dports/kde/kde4-runtime/Portfile
a b 6 6 7 7 name kde4-runtime 8 8 version 4.12.4 9 revision 19 revision 2 10 10 categories kde kde4 11 11 maintainers nicos 12 12 license GPL-2+ LGPL-2.1+ … … 74 74 universal_variant no 75 75 } 76 76 77 pre-build {78 # Add missing object files manually.79 #(Should be in libkdeinit4_kglobalaccel, but do not link)80 reinplace "s|-o|CMakeFiles/kdeinit_kglobalaccel.dir/globalshortcutsregistry.o \81 CMakeFiles/kdeinit_kglobalaccel.dir/globalshortcut.o \82 CMakeFiles/kdeinit_kglobalaccel.dir/globalshortcutcontext.o \83 CMakeFiles/kdeinit_kglobalaccel.dir/component.o -o|g" \84 ${workpath}/build/kglobalaccel/CMakeFiles/kglobalaccel.dir/link.txt85 }86 87 77 post-destroot { 88 78 # Remove this file as it conflicts with hicolor-icon-theme 89 79 file delete ${destroot}${prefix}/share/icons/hicolor/index.theme -
dports/kde/kdelibs4/Portfile
a b 6 6 7 7 name kdelibs4 8 8 version 4.12.4 9 revision 1 9 10 categories kde kde4 10 11 maintainers nicos 11 12 license LGPL-2+ GPL-2+ BSD … … 56 57 workaround-kdeinit4-crash.patch \ 57 58 patch-cmake-modules-FindKDE4-Internal.cmake.diff \ 58 59 patch-cmake-modules-FindPhonon.cmake.diff \ 59 patch-cmake-modules-FindQt4.cmake.diff 60 patch-cmake-modules-FindQt4.cmake.diff \ 61 patch-cmake-modules-KDE4Macros.cmake.diff 60 62 61 63 patch.pre_args -p1 62 64 -
new file dports/kde/kdelibs4/files/patch-cmake-modules-KDE4Macros.cmake.diff
- + 1 diff --git a/cmake/modules/KDE4Macros.cmake b/cmake/modules/KDE4Macros.cmake 2 index f519181..bde7cfe 100644 3 --- a/cmake/modules/KDE4Macros.cmake 4 +++ b/cmake/modules/KDE4Macros.cmake 5 @@ -829,9 +829,9 @@ macro (KDE4_ADD_KDEINIT_EXECUTABLE _target_NAME ) 6 7 if (Q_WS_MAC) 8 list(FIND _SRCS *.icns _icon_position) 9 - if(NOT _res_position EQUAL -1) 10 + if(NOT _icon_position EQUAL -1) 11 list(GET _SRCS ${_icon_position} _resourcefile) 12 - endif(NOT _res_position EQUAL -1) 13 + endif(NOT _icon_position EQUAL -1) 14 endif (Q_WS_MAC) 15 kde4_add_executable(${_target_NAME} "${_nogui}" ${CMAKE_CURRENT_BINARY_DIR}/${_target_NAME}_dummy.cpp ${_resourcefile}) 16 target_link_libraries(${_target_NAME} kdeinit_${_target_NAME}) 1 17