[Bug 293090] net-mgmt/collectd5: fix python hardcoded version

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 10 Feb 2026 18:22:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293090

            Bug ID: 293090
           Summary: net-mgmt/collectd5: fix python hardcoded version
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: ports@bsdserwis.com
 Attachment #267951 maintainer-approval+
             Flags:

Created attachment 267951
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=267951&action=edit
update port patch

Currently collectd5 has fix for include of longintrepr.h in src/cpython.h but
is hardcoded of python3.11

This patch is very simple - it patches src/cpython.h with PYTHON_VERSION
variable, so it could be built with python3.12 or newer.

A patch was tested with poudriere - logfile is attached also.

-- 
You are receiving this mail because:
You are the assignee for the bug.