Three patches: - https://github.com/rleigh-codelibre/freebsd-ports/commit/46dc6c7f7d4f7a0cbdaf24159a151bfc6af5d632 - https://github.com/rleigh-codelibre/freebsd-ports/commit/3413b5d2d8f73a692625ed3c5fd0801ac5c74fc6 - https://github.com/rleigh-codelibre/freebsd-ports/commit/a53ff726951c58bcf9822c0ccfa74248a88db672 However, the latest git at https://github.com/mitsuba-renderer/mitsuba has already fixed most of these problems. It might be easiest to update the port rather than patching it. When I enabled C++11 char16_t in xerces-c 3.2.0, mitsuba failed to build from source (as a reverse dependency).
Expired port removed, still available in 2018Q3