Debian Patches

Status for canopenterm/2.03-2

Patch Description Author Forwarded Bugs Origin Last update
fix-system-pocketpy-include-dir.patch Findpocketpy: prefer public header directory
pocketpy ships two headers: /usr/include/pocketpy.h (the public header
which defines PK_IS_PUBLIC_INCLUDE and then includes the internal header)
and /usr/include/pocketpy/pocketpy.h (the internal header).

struct py_TValue is only defined as a complete type when PK_IS_PUBLIC_INCLUDE
is set, i.e. when the umbrella header is used.

With "PATH_SUFFIXES pocketpy", find_path resolved pocketpy_INCLUDE_DIR to
/usr/include/pocketpy, so the source's "#include <pocketpy.h>" picked up the
internal header directly. py_TValue then stayed incomplete and the py_arg(i)
macro (&argv[i]) failed to compile ("invalid use of undefined type struct
py_TValue"). Drop the suffix so the include dir is the root containing the
umbrella header.
Christopher Obbard <obbardc@debian.org> not-needed 2026-07-04

All known versions for source package 'canopenterm'

Links