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/x11-misc/obconf-qt/files/obconf-qt-0.9.0_p20150729-grep223.patch (+34 lines)
Line 0 Link Here
1
From 7ca239cb48b4554d904a0b6514359e9a8926c766 Mon Sep 17 00:00:00 2001
2
Message-Id: <7ca239cb48b4554d904a0b6514359e9a8926c766.1455384050.git.sven.a.jonsson@tele2.se>
3
From: Sven Jonsson <sven.a.jonsson@tele2.se>
4
Date: Sat, 13 Feb 2016 14:56:24 +0100
5
Subject: [PATCH] LXQtTranslateDesktop: adapted 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/x11-misc/obconf-qt/obconf-qt-0.9.0_p20150729.ebuild (-1 / +2 lines)
Lines 38-40 RDEPEND="dev-libs/glib:2 Link Here
38
DEPEND="${RDEPEND}
38
DEPEND="${RDEPEND}
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" )

Return to bug 574472