Add missing patch
This commit is contained in:
		
							parent
							
								
									d18506f60f
								
							
						
					
					
						commit
						c8d6cba3c6
					
				
							
								
								
									
										1
									
								
								debian/patches/series
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								debian/patches/series
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | ||||
| unicode-grep.patch | ||||
							
								
								
									
										22
									
								
								debian/patches/unicode-grep.patch
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								debian/patches/unicode-grep.patch
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,22 @@ | ||||
| Author: Eduard Sanou <dhole@openmailbox.org> | ||||
| Description: Fix misdetection as binary input when LC_ALL=C | ||||
| 
 | ||||
| --- lximage-qt-0.4.0+20160108.orig/cmake/LXQtTranslateDesktop.cmake
 | ||||
| +++ lximage-qt-0.4.0+20160108/cmake/LXQtTranslateDesktop.cmake
 | ||||
| @@ -71,13 +71,13 @@ function(lxqt_translate_desktop _RESULT)
 | ||||
|          set(_pattern "'\\[.*]\\s*='") | ||||
|          if (_translations) | ||||
|              add_custom_command(OUTPUT ${_outFile} | ||||
| -                COMMAND grep -v "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
 | ||||
| -                COMMAND grep -h ${_pattern} ${_translations} >> ${_outFile}
 | ||||
| +                COMMAND grep -a -v "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
 | ||||
| +                COMMAND grep -a -h ${_pattern} ${_translations} >> ${_outFile}
 | ||||
|                  COMMENT "Generating ${_fileName}${_fileExt}" | ||||
|              ) | ||||
|          else() | ||||
|              add_custom_command(OUTPUT ${_outFile} | ||||
| -                COMMAND grep -v "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
 | ||||
| +                COMMAND grep -a -v "'#TRANSLATIONS_DIR='" ${_inFile} > ${_outFile}
 | ||||
|                  COMMENT "Generating ${_fileName}${_fileExt}" | ||||
|              ) | ||||
|          endif() | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user