[Bug 242758] sysutils/lsof: Fails to build on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit: vm_page.h:204: error: field 'md' has incomplete type

[email protected]
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242758

Piotr Kubaj <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected],
                   |                            |[email protected]
 Attachment #210914|                            |maintainer-approval?(ler@Fr
              Flags|                            |eeBSD.org)

--- Comment #2 from Piotr Kubaj <[email protected]> ---
Created attachment 210914
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=210914&action=edit
patch

The following patch fixes build on powerpc64, powerpc and pleases portlint.
powerpc64 users need to either define AIM or BOOKE, this is dependent on the
hardware they have (99% of users have AIM). powerpc is all AIM AFAIK,
powerpcspe is all BOOKE AFAIK.

powerpc needs also -lzpool workaround, I'm not sure about powerpcspe.

Also remove whitespace after "can" and empty line after -lzpool's if.

Tabify CONFIGURE_ENV.

Please also MFH since this is a build fix.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.