diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2022-04-29 09:15:26 +0200 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2022-04-29 09:15:26 +0200 |
commit | 76b39d470f398e6a4ff7be7b41be289546c31470 (patch) | |
tree | 3d9a892e5ebaa5b290e4c96f5b5504ef3a16727d /devel/fccf/files/patch-source_utf8.cpp | |
parent | print/R-cran-knitr: Update to 1.39 (diff) |
devel/fccf: new port
fccf is a command-line tool that quickly searches through C/C++ source code in
a directory based on a search string and prints relevant code snippets that
match the query.
Highlights:
* Quickly identifies source files that contain a search string.
* For each candidate source file, builds an abstract syntax tree (AST).
* Visits the nodes in the AST, looking for function declarations, classes,
enums, variables etc., that match the user's request.
* Pretty-prints the identified snippet of source code to the terminal.
* MIT License
WWW: https://github.com/p-ranav/fccf
Diffstat (limited to 'devel/fccf/files/patch-source_utf8.cpp')
-rw-r--r-- | devel/fccf/files/patch-source_utf8.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/fccf/files/patch-source_utf8.cpp b/devel/fccf/files/patch-source_utf8.cpp new file mode 100644 index 000000000000..a2b7d024314c --- /dev/null +++ b/devel/fccf/files/patch-source_utf8.cpp @@ -0,0 +1,12 @@ +--- source/utf8.cpp.orig 2022-04-29 07:01:48 UTC ++++ source/utf8.cpp +@@ -19,7 +19,9 @@ + #if _WIN32 + # include <malloc.h> + #else ++#ifndef __FreeBSD__ + # include <alloca.h> ++#endif + #endif + + #include <utf8.h> |