Ticket #28765: old-add-bundles-to-path.patch

File old-add-bundles-to-path.patch, 1.0 KB (added by mkae (Marko Käning), 13 years ago)

new patch file (confusing naming, I know...)

  • kdelibs-4.6.1/kdecore/CMakeLists.txt

    old new  
    8484endif (HAVE_RESOLV_LIBRARY)
    8585
    8686if (APPLE)
     87   add_definitions(-DBUNDLE_INSTALL_DIR="\\"${BUNDLE_INSTALL_DIR}\\"")
    8788   set(kdecore_OPTIONAL_SRCS ${kdecore_OPTIONAL_SRCS}
    8889      kernel/kkernel_mac.cpp
    8990      localization/klocale_mac.cpp
  • kdelibs-4.6.1/kdecore/kernel/kstandarddirs.cpp

    old new  
    12661266        exePaths << KShell::tildeExpand( tokens[ i ] );
    12671267    }
    12681268
     1269#ifdef Q_WS_MAC
     1270    exePaths << QString::fromLatin1(BUNDLE_INSTALL_DIR);
     1271#endif
     1272
    12691273    return exePaths;
    12701274}
    12711275