Warning, /graphics/krita/3rdparty/ext_poppler/0001-fix_sed_invocation.patch is written in an unsupported language. File is not indexed.

0001 From 9e0d0e65261384bde8cb7f1932738bbeb19d3292 Mon Sep 17 00:00:00 2001
0002 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
0003 Date: Thu, 1 Sep 2022 13:18:39 +0800
0004 Subject: [PATCH] Fix `sed` invocation.
0005 
0006 The current `sed` call works only for GNU sed. We can fix that by using
0007 the `-e` flag.
0008 ---
0009  CMakeLists.txt | 2 +-
0010  1 file changed, 1 insertion(+), 1 deletion(-)
0011 
0012 diff --git a/CMakeLists.txt b/CMakeLists.txt
0013 index ec36673d7..b85add059 100644
0014 --- a/CMakeLists.txt
0015 +++ b/CMakeLists.txt
0016 @@ -542,7 +542,7 @@ if (GPERF AND SED AND RUN_GPERF_IF_PRESENT)
0017          add_custom_command(OUTPUT poppler/${input}.c
0018                         COMMAND ${GPERF} poppler/${input}.gperf > ${CMAKE_CURRENT_BINARY_DIR}/poppler/${input}.c
0019                         COMMAND ${GPERF} poppler/${input}.gperf > ${CMAKE_CURRENT_SOURCE_DIR}/poppler/${input}.pregenerated.c
0020 -                       COMMAND ${SED} -i "s#${GPERF}#gperf#" ${CMAKE_CURRENT_SOURCE_DIR}/poppler/${input}.pregenerated.c
0021 +                       COMMAND ${SED} -i -e "s#${GPERF}#gperf#" ${CMAKE_CURRENT_SOURCE_DIR}/poppler/${input}.pregenerated.c
0022                         COMMAND clang-format -i ${CMAKE_CURRENT_SOURCE_DIR}/poppler/${input}.pregenerated.c || true
0023                         DEPENDS poppler/${input}.gperf
0024                         WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
0025 -- 
0026 GitLab
0027