/[packages]/cauldron/pcmanfm-qt/current/SOURCES/pcmanfm-qt-0.10.0-grep-2.23.patch
ViewVC logotype

Contents of /cauldron/pcmanfm-qt/current/SOURCES/pcmanfm-qt-0.10.0-grep-2.23.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 979749 - (show annotations) (download)
Fri Feb 26 22:58:05 2016 UTC (8 years, 1 month ago) by luigiwalser
File size: 1091 byte(s)
add patch to fix build with grep 2.23
1 --- pcmanfm-qt-0.10.0/cmake/LXQtTranslateDesktop.cmake.orig 2016-02-26 17:56:44.016391140 -0500
2 +++ pcmanfm-qt-0.10.0/cmake/LXQtTranslateDesktop.cmake 2016-02-26 17:57:08.286755035 -0500
3 @@ -71,13 +71,13 @@ function(lxqt_translate_desktop _RESULT)
4 set(_pattern "'\\[.*]\\s*='")
5 if (_translations)
6 add_custom_command(OUTPUT ${_outFile}
7 - COMMAND grep -v "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
8 - COMMAND grep -h ${_pattern} ${_translations} >> ${_outFile}
9 + COMMAND grep -a -v "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
10 + COMMAND grep -a -h ${_pattern} ${_translations} >> ${_outFile}
11 COMMENT "Generating ${_fileName}${_fileExt}"
12 )
13 else()
14 add_custom_command(OUTPUT ${_outFile}
15 - COMMAND grep -v "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
16 + COMMAND grep -a -v "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
17 COMMENT "Generating ${_fileName}${_fileExt}"
18 )
19 endif()

  ViewVC Help
Powered by ViewVC 1.1.30