While testing the existing cad/freecad port, I found what appears to be a duplicate definition in the FreeBSD patch: files/patch-src_3rdParty_salomesmesh_inc_SMESH__TryCatch.hxx The patch contains two consecutive #define SMESH_CATCH(...) entries in the modified section. During the build this results in the compiler reporting: error: '#' is not followed by a macro parameter followed by additional parser errors originating from SMESH_Mesh.cpp. This issue is reproducible on a clean ports tree with the current cad/freecad-1.1.1_2 port. I am reporting the duplicate definition found in the patch so it can be reviewed.I have tried patching the patch but I am getting errors
fixed in https://cgit.freebsd.org/ports/commit/?id=1d52f5eb615e39d69e17addd1975e93e121b8ef2