Skip to content

Commit

Permalink
[workspace] Patch FCL for missing include statement (RobotLocomotion#…
Browse files Browse the repository at this point in the history
…18694)

Pre-release versions of Eigen have stopped including cassert, which
exposes some places in FCL where its now missing.
  • Loading branch information
jwnimmer-tri authored and xuchenhan-tri committed Feb 2, 2023
1 parent c0339ca commit 4fd340e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tools/workspace/fcl_internal/patches/cassert.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Add missing #include statement

--- include/fcl/common/types.h
+++ include/fcl/common/types.h
@@ -38,6 +38,7 @@
#ifndef FCL_DATA_TYPES_H
#define FCL_DATA_TYPES_H

+#include <cassert>
#include <cstddef>
#include <cstdint>
#include <vector>
3 changes: 3 additions & 0 deletions tools/workspace/fcl_internal/repository.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@ def fcl_internal_repository(
commit = "df2702ca5e703dec98ebd725782ce13862e87fc8",
sha256 = "3ebcf2470a3ee372440cdec4cb78d1723411c3cf84f419679c2c85317c4c2dae", # noqa
build_file = ":package.BUILD.bazel",
patches = [
":patches/cassert.patch",
],
mirrors = mirrors,
)

0 comments on commit 4fd340e

Please sign in to comment.