Bug 279746

Summary: misc/libiio: Fix build with libxml2 2.12 and newer
Product: Ports & Packages Reporter: Daniel Engberg <diizzy>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed Overcome By Events    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (yuri)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 279705    
Attachments:
Description Flags
Patch for libiio none

Description Daniel Engberg freebsd_committer freebsd_triage 2024-06-15 04:33:49 UTC
Created attachment 251461 [details]
Patch for libiio

Backport upstream commit bb688d04294dda45e68dfaf13e3bc1187841e52a
Add USES= pathfix while at it

Compile tested on FreeBSD 14.0-RELEASE (amd64) (make, make check-plist)

Poudriere testport OK 13.2-RELEASE (amd64)
Poudriere testport OK 14.0-RELEASE (amd64)
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2024-06-16 15:41:58 UTC
Poudriere testport OK 13.2-RELEASE (amd64) - With current version of libxml2 in tree
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2024-06-24 00:25:13 UTC
I can't reproduce the problem: the libiio-0.25 build succeeds with libxml2-2.13.1 even without the attached patch.

Log: https://freebsd.org/~yuri/libiio-0.25.log
Comment 3 Daniel Engberg freebsd_committer freebsd_triage 2024-06-24 17:38:22 UTC
Fixed in later iterations of libxml2, sorry for the noise
https://pdr2.bofh.network/data/140-diizzy/libxml2-libxslt-run2/logs/libiio-0.25.log