[Bug 297267] cad/freecad: duplicate SMESH_CATCH

[email protected] Tue, 04 Aug 2026 10:42:48 +0000
Newsgroups gmane.os.freebsd.devel.ports.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D297267

            Bug ID: 297267
           Summary: cad/freecad: duplicate SMESH_CATCH
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
             Flags: maintainer-feedback?([email protected])
          Assignee: [email protected]

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

--=20
You are receiving this mail because:
You are the assignee for the bug.=