Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 574472 | Differences between
and this patch

Collapse All | Expand All

(-)a/media-gfx/lximage-qt/files/lximage-qt-0.4.0-grep223.patch (+34 lines)
Line 0 Link Here
1
From ab642fc40a1c086678bf34420bfcb2de7afe3458 Mon Sep 17 00:00:00 2001
2
Message-Id: <ab642fc40a1c086678bf34420bfcb2de7afe3458.1455431691.git.sven.a.jonsson@tele2.se>
3
From: Sven Jonsson <sven.a.jonsson@tele2.se>
4
Date: Sat, 13 Feb 2016 14:54:37 +0100
5
Subject: [PATCH] LXQtTranslateDesktop: adapt to grep 2.23
6
7
---
8
 cmake/LXQtTranslateDesktop.cmake | 6 +++---
9
 1 file changed, 3 insertions(+), 3 deletions(-)
10
11
diff --git a/cmake/LXQtTranslateDesktop.cmake b/cmake/LXQtTranslateDesktop.cmake
12
index 522ed68..7569f03 100644
13
--- a/cmake/LXQtTranslateDesktop.cmake
14
+++ b/cmake/LXQtTranslateDesktop.cmake
15
@@ -71,13 +71,13 @@ function(lxqt_translate_desktop _RESULT)
16
         set(_pattern "'\\[.*]\\s*='")
17
         if (_translations)
18
             add_custom_command(OUTPUT ${_outFile}
19
-                COMMAND grep -v "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
20
-                COMMAND grep -h ${_pattern} ${_translations} >> ${_outFile}
21
+                COMMAND grep -v -a "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
22
+                COMMAND grep -h -a ${_pattern} ${_translations} >> ${_outFile}
23
                 COMMENT "Generating ${_fileName}${_fileExt}"
24
             )
25
         else()
26
             add_custom_command(OUTPUT ${_outFile}
27
-                COMMAND grep -v "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
28
+                COMMAND grep -v -a "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
29
                 COMMENT "Generating ${_fileName}${_fileExt}"
30
             )
31
         endif()
32
-- 
33
2.7.1
34
(-)a/media-gfx/lximage-qt/lximage-qt-0.4.0.ebuild (-1 / +2 lines)
Lines 39-44 DEPEND="${RDEPEND} Link Here
39
	dev-qt/linguist-tools:5
39
	dev-qt/linguist-tools:5
40
	virtual/pkgconfig"
40
	virtual/pkgconfig"
41
41
42
PATCHES=( "${FILESDIR}/${P}-grep223.patch" )
43
42
src_configure() {
44
src_configure() {
43
	local mycmakeargs=(
45
	local mycmakeargs=(
44
		-DUSE_QT5=ON
46
		-DUSE_QT5=ON
45
- 

Return to bug 574472