[Bug 264831] comms/wsjtx: Fortran runtime error fix

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 22 Jun 2022 17:06:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264831

            Bug ID: 264831
           Summary: comms/wsjtx: Fortran runtime error fix
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: hamradio@FreeBSD.org
          Reporter: shurd@FreeBSD.org
          Assignee: hamradio@FreeBSD.org
             Flags: maintainer-feedback?(hamradio@FreeBSD.org)

Created attachment 234870
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234870&action=edit
Use size_t when building with clang

With the current port build using clang, wsjtx will occasionally exit with a
message along the lines of:

Fortran runtime error: Actual string length is shorter than the declared one
for dummy argument 'msgsent' (-4294967274/22)

This is caused by using the wrong type for the hidden arguments that specify
the character length when calling fortran subroutines from C.

The attached patch solves the issue.

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