Bug 280153 - lang/php81: Fix build with libxml 2.12 and newer
Summary: lang/php81: Fix build with libxml 2.12 and newer
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks: 279705
  Show dependency treegraph
 
Reported: 2024-07-06 08:09 UTC by Daniel Engberg
Modified: 2024-08-21 19:36 UTC (History)
0 users

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


Attachments
Patch for php81 (1.22 KB, patch)
2024-07-06 08:09 UTC, Daniel Engberg
bofh: maintainer-approval-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2024-07-06 08:09:36 UTC
Created attachment 251896 [details]
Patch for php81

Backport upstream patches 0a39890c967aa57225bb6bdf4821aff7a3a3c082 and 061058a9b1bbd90d27d97d79aebcf2b5029767b0

References:
https://github.com/php/php-src/commit/0a39890c967aa57225bb6bdf4821aff7a3a3c082
https://github.com/php/php-src/commit/061058a9b1bbd90d27d97d79aebcf2b5029767b0

Only compile tested on 14.1-RELEASE (amd64)
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-07-27 13:08:26 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0f438952da055c26e2b55288f2e406bc5b5e474a

commit 0f438952da055c26e2b55288f2e406bc5b5e474a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-07-27 12:13:00 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-07-27 13:06:58 +0000

    lang/php81: Fix build with libxml 2.12 and newer

    - Rename rc script to comply to the rc scripting recommendations [1]

    PR: 280153, 280134 [1]
    Co-authored-by: Alexander Leidinger <netchild@FreeBSD.org>
    Co-authored-by: Daniel Engberg <diizzy@FreeBSD.org>

 UPDATING                                    | 15 +++++++++++++++
 lang/php81/Makefile                         |  8 ++++++--
 lang/php81/distinfo                         |  6 +++++-
 lang/php81/files/{php-fpm.in => php_fpm.in} |  6 +++---
 4 files changed, 29 insertions(+), 6 deletions(-)
Comment 2 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2024-07-27 13:09:48 UTC
Comment on attachment 251896 [details]
Patch for php81

The codeblock is on the wrong place.
Comment 3 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2024-08-21 19:36:18 UTC
This breaks runtime. So we might have to await until libxml2 itself is updated. See bug #280775