Skip to content

Commit

Permalink
fix: folly patch to address tamatebako/tebako#161
Browse files Browse the repository at this point in the history
  • Loading branch information
maxirmx committed Jul 29, 2024
1 parent 62ddb50 commit e2bad1a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ci-scripts/patch-folly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,10 @@ EOM
sbst="set(OPENSSL_INCLUDE_DIR \"\${OPENSSL_ROOT_DIR}\/include\") # tebako patched"
"$GNU_SED" -i "s/$re/$sbst/g" "$1/CMakeLists.txt"

re="auto ep = current_exception();"
subst="auto ep = std::current_exception(); // tebako patched"
do_patch "$1/folly/Executor.cpp" "$re" "$sbst"

elif [[ "$OSTYPE" == "msys"* ]]; then
# --- folly/portability/Stdlib.h ---
re="#define PATH_MAX _MAX_PATH"
Expand Down

0 comments on commit e2bad1a

Please sign in to comment.