-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Had to add a patch to allow builds of targets containing '+' in their dir name Build system: x86_64 Build-tested: bcm2711/RPi4B Run-tested: bcm2711/RPi4B Signed-off-by: John Audia <therealgraysky@proton.me>
- Loading branch information
1 parent
02aff4a
commit eb251c5
Showing
2 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
net/snort3/patches/900-fix_build_for_archs_contain_plus.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- a/cmake/FindFlexLexer.cmake | ||
+++ b/cmake/FindFlexLexer.cmake | ||
@@ -16,11 +16,11 @@ macro(FLEX NAME LEXER_IN LEXER_OUT) | ||
COMPILE_FLAGS ${FLEX_FLAGS} | ||
) | ||
|
||
- # we use '+' as a separator for 'sed' to avoid conflicts with '/' in paths from LEXER_OUT | ||
+ # we use '|' as a separator for 'sed' to avoid conflicts with '/' in paths from LEXER_OUT | ||
add_custom_command( | ||
OUTPUT ${LEXER_OUT} | ||
COMMAND sed -e | ||
- "s+void yyFlexLexer::LexerError+yynoreturn void yyFlexLexer::LexerError+;s+${LEXER_OUT}.tmp+${LEXER_OUT}+" | ||
+ "s|void yyFlexLexer::LexerError|yynoreturn void yyFlexLexer::LexerError|;s|${LEXER_OUT}.tmp|${LEXER_OUT}|" | ||
${FLEX_${NAME}_OUTPUTS} > ${LEXER_OUT} | ||
DEPENDS ${FLEX_${NAME}_OUTPUTS} | ||
VERBATIM |