Skip to content

openscenegraph: backport C++17 and MSVC patches to Conan 1 recipe#1

Merged
sebhmg merged 2 commits intobackport/conan1from
backport/osg-conan1-patches
Mar 23, 2026
Merged

openscenegraph: backport C++17 and MSVC patches to Conan 1 recipe#1
sebhmg merged 2 commits intobackport/conan1from
backport/osg-conan1-patches

Conversation

@sebhmg
Copy link
Copy Markdown

@sebhmg sebhmg commented Mar 21, 2026

Changes

openscenegraph/3.6.5: Backport patches from the Conan 2 recipe to the Conan 1 recipe.

Patch files added

From conan-io/conan-center-index@0992b51e (conan-io#23704 Migrate/openscenegraph):

From conan-io/conan-center-index@51b1282e (conan-io#28121 openscenegraph: added some patches):

Modified files

  • recipes/openscenegraph/all/conandata.yml — Added entries for patches 0007–0013 with base_path: source_subfolder (Conan 1 format).

Context

Building OpenSceneGraph 3.6.5 with compiler.cppstd=17 on MSVC with Windows SDK 10.0.26100.0+ fails with:

objidl.h(16737,57): error C2872: 'byte': ambiguous symbol

These patches were already present in the Conan 2 rewrite of the recipe but were never backported to the Conan 1 recipe.

sebhmg added 2 commits March 21, 2026 12:06
Backport patches 0007-0011 from the Conan 2 recipe (conan-io/conan-center-index
commit 0992b51) to the Conan 1 recipe:

- 0007: fix MSVC with std c++17 (upstream PR conan-io#1055)
- 0008: replace std::mem_fun_ref (upstream commit 8a0114a)
- 0009: replace auto_ptr in plugins (upstream PR conan-io#1246)
- 0010: replace ptr_fun in obj plugin (upstream PR conan-io#1246)
- 0011: remove deprecated register keyword (upstream PR conan-io#1296)

Also add patch_description/patch_type/patch_source metadata to all
patches (0001-0011) per CCI conandata.yml schema requirements.
Backport patches 0012-0013 from the Conan 2 recipe (conan-io/conan-center-index
commit 51b1282) to the Conan 1 recipe:

- 0012: fix MSVC _FPOSOFF removal (upstream issue conan-io#1323)
- 0013: fix MSVC unnamed typedef struct (upstream commit 3e7bdc0)
@sebhmg sebhmg force-pushed the backport/osg-conan1-patches branch from 3e8d1a2 to ae132df Compare March 21, 2026 16:07
@sebhmg
Copy link
Copy Markdown
Author

sebhmg commented Mar 21, 2026

on this one, I have been well assisted by copilot with Claude Opus !

@sebhmg sebhmg merged commit a7cf9c9 into backport/conan1 Mar 23, 2026
6 checks passed
sebhmg pushed a commit that referenced this pull request Mar 23, 2026
* add v5.15.17

* remove unused qtmodules files (#1)

* 5.15.18

* Apply suggestions from code review

Co-authored-by: ericLemanissier <ericLemanissier@users.noreply.github.com>

* Update recipes/qt/5.x.x/conandata.yml

Co-authored-by: ericLemanissier <ericLemanissier@users.noreply.github.com>

* qt5: remove unreferenced patches

* qt5 fix patches

---------

Co-authored-by: ericLemanissier <ericLemanissier@users.noreply.github.com>
Co-authored-by: Luis Caro Campos <3535649+jcar87@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants