Bug 291029 - www/pecl-solr: fix fallout with PHP85
Summary: www/pecl-solr: fix fallout with PHP85
Status: Closed DUPLICATE of bug 290953
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL: https://portsfallout.com/port/26270/
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-15 11:59 UTC by Paavo-Einari Kaipila
Modified: 2025-11-15 12:07 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (gaod)


Attachments
0001-www-pecl-solr-fix-fallout-with-PHP85.patch (871 bytes, patch)
2025-11-15 12:00 UTC, Paavo-Einari Kaipila
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paavo-Einari Kaipila 2025-11-15 11:59:10 UTC
/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()
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comment 1 Paavo-Einari Kaipila 2025-11-15 12:00:39 UTC
Created attachment 265424 [details]
0001-www-pecl-solr-fix-fallout-with-PHP85.patch
Comment 2 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2025-11-15 12:07:55 UTC

*** This bug has been marked as a duplicate of bug 290953 ***