Bug 274971 - databases/pear-DB: fix - support php82
Summary: databases/pear-DB: fix - support php82
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-08 19:57 UTC by Krzysztof
Modified: 2024-04-30 08:33 UTC (History)
0 users

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


Attachments
poudriere testport log (20.36 KB, text/plain)
2023-11-08 19:57 UTC, Krzysztof
no flags Details
update patch (1.62 KB, patch)
2023-11-08 19:58 UTC, Krzysztof
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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...