[Bug 266732] security/john: fix build on AArch64

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 30 Sep 2022 20:48:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266732

            Bug ID: 266732
           Summary: security/john: fix build on AArch64
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://cgit.freebsd.org/ports/commit/?id=1e6670382fbb
                    d10ff7ec2009b296f8d9ed4e8fa4
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: danfe@FreeBSD.org
          Reporter: fuz@fuz.su
                CC: danfe@FreeBSD.org, pkubaj@FreeBSD.org
             Flags: maintainer-feedback?(danfe@FreeBSD.org)
          Assignee: danfe@FreeBSD.org
 Attachment #236975 maintainer-approval?(danfe@FreeBSD.org)
             Flags:
                CC: danfe@FreeBSD.org

Created attachment 236975
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=236975&action=edit
security/john: fix build on arm64

This fixes an incorrect PPC patch, making it work by removing a #ifdef linux
instead of adding an extra include.  The build on AArch64 now succeeds.

@pkubaj, please check if the build on PPC still succeeds before this port is
committed.

Tested with Poudriere on armv7 arm64 amd64 i386 FreeBSD 13.1.

@danfe Please don't erase the author field when committing this patch, as you
accidentally did in 5c648bf.  If you use git-am to apply it, meta data will
automatically be preserved.

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