[Bug 283509] lang/ratfor: fix build on platforms where char is unsigned

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 23 Dec 2024 13:37:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283509

            Bug ID: 283509
           Summary: lang/ratfor: fix build on platforms where char is
                    unsigned
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: fuz@FreeBSD.org
                CC: bofh@freebsd.org
          Assignee: bofh@freebsd.org
             Flags: maintainer-feedback?(bofh@freebsd.org)
 Attachment #256063 maintainer-approval?(bofh@freebsd.org)
             Flags:
             Flags: merge-quarterly?
                CC: bofh@freebsd.org

Created attachment 256063
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=256063&action=edit
lang/ratfor: fix build in platforms where char is unsigned

Turns out the code anticipates this problem and has support for using
"signed char" over "char" where "char" is unsigned by default.

Use "signed char" unconditionally to fix the port on all platforms.
This has no effect on platforms where char is already signed.

See also bug #258628.

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