Debian Patches

Status for canopenterm/2.01-1

Patch Description Author Forwarded Bugs Origin Last update
0001-cmake-Findpocketpy-fix-include-dir-to-resolve-top-le.patch cmake/Findpocketpy: fix include dir to resolve top-level pocketpy.h
The pocketpy_INCLUDE_DIRS was set to $(pocketpy_INCLUDE_DIR)/pocketpy
causing source files to include pocketpy/pocketpy.h directly. This
bypasses the installed wrapper at /usr/include/pocketpy.h which defines
PK_IS_PUBLIC_INCLUDE before pulling in the real header - a macro that
makes the py_TValue struct definition visible to consumers. Without it,
py_TValue is an incomplete type and py_arg() fails to compile.

Fix by using pocketpy_INCLUDE_DIR directly (i.e. /usr/include) so that
including pocketpy.h resolves the wrapper.
Christopher Obbard <obbardc@debian.org> no 2026-04-04

All known versions for source package 'canopenterm'

Links