Bug #73961 [Opn->Csd]: Build issue in hash_sha3.c
| From: | krakjoe@php.net | Date: | Sat, 21 Jan 2017 07:47:06 +0000 |
| Subject: | Bug #73961 [Opn->Csd]: Build issue in hash_sha3.c | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-206810@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73961&edit=1
ID: 73961
Updated by: krakjoe@php.net
Reported by: j dot david dot lists at gmail dot com
Summary: Build issue in hash_sha3.c
-Status: Open
+Status: Closed
Type: Bug
Package: hash related
Operating System: FreeBSD
PHP Version: 7.1.1
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of krakjoe
Revision: http://git.php.net/?p=php-src.git;a=commit;h=1ff27053f9ffc7c68cf71b6cfb072583e2e7a610
Log: Fix bug #73961 environmental build dependency in hash sha3 source
Previous Comments:
------------------------------------------------------------------------
[2017-01-19 18:38:38] j dot david dot lists at gmail dot com
Description:
------------
In our local build of PHP, we ran into a compile error on hash_sha3.c.
hash_sha3.c includes php_hash_sha3.h which includes "ext/hash/php_hash.h" which is not
valid.
This is corrected by the attached (trivial) patch, which changes hash_sha3.c to be like the other
files in the extension, which include php_hash.h first. Doing so eliminates the environmental build
dependency.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73961&edit=1