Bug 274971

Summary: databases/pear-DB: fix - support php82
Product: Ports & Packages Reporter: Krzysztof <ports>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (sunpoet)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
poudriere testport log
none
update patch none

Description Krzysztof 2023-11-08 19:57:43 UTC
Created attachment 246205 [details]
poudriere testport log

databases/pear-DB is used by security/mailzu. I've found that there are problems with some part of code for DB/pgsql.php script.

Propably similiar patches should be added to other DB "drivers" - but I did not checked.

I've made a patch which eliminates errors with php 8.2.x. This patch was tested with poudriere - tesport log is attached.
Comment 1 Krzysztof 2023-11-08 19:58:19 UTC
Created attachment 246206 [details]
update patch

port update patch
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2023-11-27 12:26:01 UTC
I've imported upstream patches in ports 54b238b132af2af8b8e1a13cb07816b3be6396c0. It should fix PHP 8.2 issues. Thanks.
Comment 3 Krzysztof 2024-04-30 08:27:09 UTC
Should I reopen this bug or submitt new one?

Unfortunatelly without my patch there are a lot of error logs about converting sql object into int...
Comment 4 Krzysztof 2024-04-30 08:33:12 UTC
OK,

I've found that there is a bug in source on github. I'll try to patch file with DB developers...