From b3a8d16acd6562e3dfe613b0d96cd7a4e29c5581 Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Mon, 14 Jul 2025 08:46:31 +0200 Subject: [PATCH] [nanogui] fix release build (#46380) Co-authored-by: Yury Bura --- ports/nanogui/fix-release-build.patch | 72 +++++++++++++++++++++++++++ ports/nanogui/portfile.cmake | 1 + ports/nanogui/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/n-/nanogui.json | 5 ++ 5 files changed, 80 insertions(+), 2 deletions(-) create mode 100644 ports/nanogui/fix-release-build.patch diff --git a/ports/nanogui/fix-release-build.patch b/ports/nanogui/fix-release-build.patch new file mode 100644 index 0000000000..7baa1eb18e --- /dev/null +++ b/ports/nanogui/fix-release-build.patch @@ -0,0 +1,72 @@ +diff --git a/src/glcanvas.cpp b/src/glcanvas.cpp +index ec1ca4f..6ebf5a9 100644 +--- a/src/glcanvas.cpp ++++ b/src/glcanvas.cpp +@@ -18,6 +18,7 @@ + #include + #include + #include ++#include + + NAMESPACE_BEGIN(nanogui) + +diff --git a/src/imageview.cpp b/src/imageview.cpp +index 80cdf9b..f0ebbaf 100644 +--- a/src/imageview.cpp ++++ b/src/imageview.cpp +@@ -15,6 +15,7 @@ + #include + #include + #include ++#include + #include + + NAMESPACE_BEGIN(nanogui) +diff --git a/src/stackedwidget.cpp b/src/stackedwidget.cpp +index 0b56b31..16b07cc 100644 +--- a/src/stackedwidget.cpp ++++ b/src/stackedwidget.cpp +@@ -13,6 +13,7 @@ + */ + + #include ++#include + + NAMESPACE_BEGIN(nanogui) + +diff --git a/src/tabheader.cpp b/src/tabheader.cpp +index e3a24ff..86e1493 100644 +--- a/src/tabheader.cpp ++++ b/src/tabheader.cpp +@@ -14,6 +14,7 @@ + #include + #include + #include ++#include + #include + + NAMESPACE_BEGIN(nanogui) +diff --git a/src/tabwidget.cpp b/src/tabwidget.cpp +index e01b5c3..0a3f76c 100644 +--- a/src/tabwidget.cpp ++++ b/src/tabwidget.cpp +@@ -19,6 +19,7 @@ + #include + #include + #include ++#include + #include + + NAMESPACE_BEGIN(nanogui) +diff --git a/src/widget.cpp b/src/widget.cpp +index 03af6b1..68318a8 100644 +--- a/src/widget.cpp ++++ b/src/widget.cpp +@@ -16,6 +16,7 @@ + #include + #include + #include ++#include + + NAMESPACE_BEGIN(nanogui) + diff --git a/ports/nanogui/portfile.cmake b/ports/nanogui/portfile.cmake index 0d331896d6..5cc5fc8651 100644 --- a/ports/nanogui/portfile.cmake +++ b/ports/nanogui/portfile.cmake @@ -14,6 +14,7 @@ vcpkg_from_github( PATCHES fix-cmakelists.patch fix-glad-dependence.patch + fix-release-build.patch ) vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS diff --git a/ports/nanogui/vcpkg.json b/ports/nanogui/vcpkg.json index cc8325a9a7..65f6eb9139 100644 --- a/ports/nanogui/vcpkg.json +++ b/ports/nanogui/vcpkg.json @@ -1,7 +1,7 @@ { "name": "nanogui", "version-date": "2019-09-23", - "port-version": 5, + "port-version": 6, "description": "NanoGUI is a minimalistic cross-platform widget library for OpenGL 3.x or higher.", "homepage": "https://github.com/wjakob/nanogui", "license": "BSD-3-Clause", diff --git a/versions/baseline.json b/versions/baseline.json index 848458d594..dd6fd25ab8 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6546,7 +6546,7 @@ }, "nanogui": { "baseline": "2019-09-23", - "port-version": 5 + "port-version": 6 }, "nanojsonc": { "baseline": "1.3.0", diff --git a/versions/n-/nanogui.json b/versions/n-/nanogui.json index a7117eac6b..d0dbab48fb 100644 --- a/versions/n-/nanogui.json +++ b/versions/n-/nanogui.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "15edf616d37b31a8d07a171617608fac711a36f4", + "version-date": "2019-09-23", + "port-version": 6 + }, { "git-tree": "ba52e521c1d71e2e1c855913e9a1b437920a9fc9", "version-date": "2019-09-23",