Skip to content

Commit

Permalink
Replace Folly with trimmed version nesfolly
Browse files Browse the repository at this point in the history
  • Loading branch information
ls-1801 committed Apr 23, 2024
1 parent 04c0cf9 commit 6a5d98e
Show file tree
Hide file tree
Showing 18 changed files with 4,377 additions and 309 deletions.
13 changes: 0 additions & 13 deletions vcpkg-registry/ports/folly/FindLZ4.cmake

This file was deleted.

13 changes: 0 additions & 13 deletions vcpkg-registry/ports/folly/FindSnappy.cmake

This file was deleted.

22 changes: 0 additions & 22 deletions vcpkg-registry/ports/folly/boost-1.70.patch

This file was deleted.

This file was deleted.

13 changes: 0 additions & 13 deletions vcpkg-registry/ports/folly/fix-musl.patch

This file was deleted.

12 changes: 0 additions & 12 deletions vcpkg-registry/ports/folly/fix-windows-minmax.patch

This file was deleted.

95 changes: 0 additions & 95 deletions vcpkg-registry/ports/folly/portfile.cmake

This file was deleted.

28 changes: 0 additions & 28 deletions vcpkg-registry/ports/folly/reorder-glog-gflags.patch

This file was deleted.

77 changes: 0 additions & 77 deletions vcpkg-registry/ports/folly/vcpkg.json

This file was deleted.

22 changes: 22 additions & 0 deletions vcpkg-registry/ports/nesfolly/arm-compilation.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
diff --git a/folly/Exception.h b/folly/Exception.h
index 3b3118c61..db51d0fa3 100644
--- a/folly/Exception.h
+++ b/folly/Exception.h
@@ -53,11 +53,11 @@ inline std::system_error makeSystemErrorExplicit(int err, const char* msg) {
return std::system_error(err, errorCategoryForErrnoDomain(), msg);
}

-template <class... Args>
-std::system_error makeSystemErrorExplicit(int err, Args&&... args) {
- return makeSystemErrorExplicit(
- err, to<fbstring>(std::forward<Args>(args)...).c_str());
-}
+// template <class... Args>
+// std::system_error makeSystemErrorExplicit(int err, Args&&... args) {
+// return makeSystemErrorExplicit(
+// err, to<fbstring>(std::forward<Args>(args)...).c_str());
+// }

inline std::system_error makeSystemError(const char* msg) {
return makeSystemErrorExplicit(errno, msg);

Loading

0 comments on commit 6a5d98e

Please sign in to comment.