[Bug 231462] security/php72-hash: fix build with mips64, powerpc64
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Sep 18 18:51:45 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231462
Bug ID: 231462
Summary: security/php72-hash: fix build with mips64, powerpc64
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: tz at freebsd.org
Reporter: pkubaj at anongoth.pl
Flags: maintainer-feedback?(tz at freebsd.org)
Assignee: tz at freebsd.org
Created attachment 197214
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=197214&action=edit
patch
It looks like even though HAVE_SLOW_HASH3 is properly defined in config.h on
big-endian architectures, it's not actually defined during build process, which
results in the default path being taken.
The workaround is to define HAVE_SLOW_HASH3 manually on mips64 and powerpc64. I
tried doing it in lang/php72/Makefile.ext, but it turns out that ${ARCH} isn't
defined in there, so I had to resort to patching Makefile directly.
Tested on CURRENT with powerpc64.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list