[Bug 213213] multimedia/php-pHash: Fix for PHP 7

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 5 19:26:22 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213213

--- Comment #1 from commit-hook at freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Sat Nov  5 19:25:47 UTC 2016
New revision: 425436
URL: https://svnweb.freebsd.org/changeset/ports/425436

Log:
  multimedia/php-pHash: unbreak build with lang/php70

  In file included from bindings/php/pHash.cpp:17:
  In file included from ./php_pHash.h:28:
  In file included from /usr/local/include/php/main/php.h:35:
  In file included from /usr/local/include/php/Zend/zend.h:36:
  bindings/php/pHash.cpp:51:36: error:
        unknown type name 'zend_rsrc_list_entry'
  extern "C" void ph_video_hash_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC)
                                     ^
  bindings/php/pHash.cpp:260:18: error: use of
        undeclared identifier 'ZEND_REGISTER_RESOURCE'
          return_res_id = ZEND_REGISTER_RESOURCE(return_value, return_res,
le_ph_video_hash);
                          ^
  bindings/php/pHash.cpp:397:26: error:
        unexpected type name 'ulong64': expected expression
          ZEND_FETCH_RESOURCE(h1, ulong64 *, &h1_res, h1_resid,
"ph_image_hash", le_ph_image_hash);
                                  ^
  [...]

  PR:           213213
  Submitted by: Naram Qashat <cyberbotx at cyberbotx.com> (maintainer)

Changes:
  head/multimedia/php-pHash/files/patch-pHash.cpp
  head/multimedia/php-pHash/files/patch-php__pHash.h

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


More information about the freebsd-ports-bugs mailing list