Date: Tue, 18 Sep 2018 18:51:42 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 231462] security/php72-hash: fix build with mips64, powerpc64 Message-ID: <bug-231462-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231462 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@freebsd.org Reporter: pkubaj@anongoth.pl Flags: maintainer-feedback?(tz@freebsd.org) Assignee: tz@freebsd.org Created attachment 197214 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D197214&action= =3Dedit 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, w= hich results in the default path being taken. The workaround is to define HAVE_SLOW_HASH3 manually on mips64 and powerpc6= 4. I tried doing it in lang/php72/Makefile.ext, but it turns out that ${ARCH} is= n't defined in there, so I had to resort to patching Makefile directly. Tested on CURRENT with powerpc64. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231462-7788>