[Bug 291029] www/pecl-solr: fix fallout with PHP85

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 15 Nov 2025 11:59:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291029

            Bug ID: 291029
           Summary: www/pecl-solr: fix fallout with PHP85
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: pkaipila@gmail.com
                CC: gaod@hychen.org
                CC: gaod@hychen.org
             Flags: maintainer-feedback?(gaod@hychen.org)

/wrkdirs/usr/ports/www/pecl-solr/work-php85/solr-2.8.1/src/php_solr.c:1342:63:
error: incompatible integer to pointer conversion passing 'int' to parameter of
type 'zend_class_entry *' (aka 'struct _zend_class_entry *') [-Wint-conversion]
 1342 |         solr_ce_SolrException = zend_register_internal_class_ex(&ce,
solr_ce_Exception);
      |                                                                     
^~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/www/pecl-solr/work-php85/solr-2.8.1/src/php_solr.h:129:30:
note: expanded from macro 'solr_ce_Exception'
  129 | #define solr_ce_Exception    zend_exception_get_default()
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

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