Closed smanders closed 3 years ago
the patch includes both changes to cpp and hpp files, which is different than any of our existing boost patches (all header-only)
so I'll have to see if there is anything different I need to do with SUBDIR
and PATCH_STRIP
...
https://github.com/smanders/externpro/blob/25b462ed70bcb78a2d29b4956f1a816312cc2dd3/projects/boostasio1_67.cmake#L9
https://github.com/smanders/externpro/blob/25b462ed70bcb78a2d29b4956f1a816312cc2dd3/projects/boostasio1_67.cmake#L21
I was pretty sure we'd patched a boost library before that contained both cpp and hpp files, so I went looking through the history -- and it appears we did for boost::iostreams and I broke it out into two patches
but I didn't ever commit the externpro project files that used these patches as it turned out they weren't needed for the "build boost with zlib support" feature
the include/
changes have to be in a separate patch from the src/
and test/
changes because the patches are applied to the boost tar.bz2
include/boost/program_options/
changes need to be applied to boost/program_options
in the root
SUBDIR .
and PATCH_STRIP 2
src/
and test/
changes need to be applied to libs/program_options/
SUBDIR ./libs/program_options/
and PATCH_STRIP 1
completed with commit referenced above
boost 1.67.0 patch https://github.com/smanders/program_options/pull/1 boost 1.76.0 patch https://github.com/smanders/program_options/pull/2 see https://github.com/boostorg/program_options/pull/109 for details