From 8773f4a10b768d182707d3bca1f03f59846fe1b5 Mon Sep 17 00:00:00 2001 From: Billy O'Neal Date: Tue, 13 Jun 2023 19:07:45 -0700 Subject: [PATCH] [gppanel] Fix missing headers (#31968) * Fix missing headers in gppanel. Submitted upstream as https://github.com/woollybah/gppanel/pull/5 * Version DB --- ports/gppanel/fix-missing-headers.patch | 14 ++++++++++++++ ports/gppanel/portfile.cmake | 1 + ports/gppanel/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/g-/gppanel.json | 5 +++++ 5 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 ports/gppanel/fix-missing-headers.patch diff --git a/ports/gppanel/fix-missing-headers.patch b/ports/gppanel/fix-missing-headers.patch new file mode 100644 index 0000000000..62474987dc --- /dev/null +++ b/ports/gppanel/fix-missing-headers.patch @@ -0,0 +1,14 @@ +diff --git a/include/baseXYData.h b/include/baseXYData.h +index 2877e4f..f018b35 100644 +--- a/include/baseXYData.h ++++ b/include/baseXYData.h +@@ -5,6 +5,9 @@ + #include "CMinMax.h" + #include "xyMultimapLabel.h" + #include ++#include ++#include ++#include + + //This possible to handle a lot of data quicker + //plot just second 1000 point to display.. diff --git a/ports/gppanel/portfile.cmake b/ports/gppanel/portfile.cmake index f4c719f335..47befccaf7 100644 --- a/ports/gppanel/portfile.cmake +++ b/ports/gppanel/portfile.cmake @@ -9,6 +9,7 @@ vcpkg_from_github( PATCHES 00001-fix-build.patch use-complex-header.patch + fix-missing-headers.patch # https://github.com/woollybah/gppanel/pull/5 ) file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH}) diff --git a/ports/gppanel/vcpkg.json b/ports/gppanel/vcpkg.json index 0ffcd4063f..3e6d8ee05b 100644 --- a/ports/gppanel/vcpkg.json +++ b/ports/gppanel/vcpkg.json @@ -1,7 +1,7 @@ { "name": "gppanel", "version-date": "2020-05-20", - "port-version": 2, + "port-version": 3, "description": "gpPanel is chart library for wxWidget. It inheritance from wxPanel and use modified wxMathPlot library at chart engine.", "homepage": "https://github.com/woollybah/gppanel", "license": "GPL-2.0-or-later WITH WxWindows-exception-3.1", diff --git a/versions/baseline.json b/versions/baseline.json index cd6056865f..e58c001b7d 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2938,7 +2938,7 @@ }, "gppanel": { "baseline": "2020-05-20", - "port-version": 2 + "port-version": 3 }, "grantlee": { "baseline": "5.3.1", diff --git a/versions/g-/gppanel.json b/versions/g-/gppanel.json index d83b897528..659f755793 100644 --- a/versions/g-/gppanel.json +++ b/versions/g-/gppanel.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "ba97170231ed485d5ba3dfbfe2ed7a66c0260517", + "version-date": "2020-05-20", + "port-version": 3 + }, { "git-tree": "9e5dbacb2efcf80443e7d7c42bc2c98b3622a7c8", "version-date": "2020-05-20",