Debian Patches

Status for cppad/2026.00.00.0-3

Patch Description Author Forwarded Bugs Origin Last update
arch-independent-configure-hpp.patch make installed cppad/configure.hpp architecture independent

libcppad-dev is Multi-Arch: same, so every file it ships below /usr/include
must be identical on all architectures. Three of the values that the cmake
command substitutes into cppad/configure.hpp depend on the size of size_t
and of a pointer, so the installed header differed between 32-bit and 64-bit
architectures and the package was not co-installable.

Determine those three symbols with the preprocessor instead, using the
compiler-supplied __SIZEOF_* macros; this reproduces exactly the values that
the cmake tests produced on each architecture. A compiler that does not
define those macros would silently evaluate them as zero and so get the
wrong answer, hence the #error guards.

The tape address type test assumes CPPAD_TAPE_ADDR_TYPE is unsigned int,
which is the cmake default and what Debian builds with.
"Barak A. Pearlmutter" <bap@debian.org> yes debian 2026-08-27

All known versions for source package 'cppad'

Links