[sfgui] Create patch to add missing header (#24103)

* Create patch to add missing header

* Updated package version

* Updated checksum

Co-authored-by: vetegrodd <ccederberg@burken.localdomain>
This commit is contained in:
vetegrodd 2022-04-13 20:09:50 +02:00 committed by GitHub
parent bdd4b345ee
commit aaeba6b1bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 3 deletions

View File

@ -0,0 +1,13 @@
diff --git a/src/SFGUI/ComboBox.cpp b/src/SFGUI/ComboBox.cpp
index a01937b..454ec3e 100644
--- a/src/SFGUI/ComboBox.cpp
+++ b/src/SFGUI/ComboBox.cpp
@@ -9,6 +9,8 @@
#include <SFML/System/String.hpp>
#include <SFML/Window/Event.hpp>
+#include <limits>
+
namespace sfg {
// Signals.

View File

@ -6,6 +6,7 @@ vcpkg_from_github(
HEAD_REF master
PATCHES
"001-fix-corefoundation-link.patch"
"002-add-limits-header.patch"
)
file(REMOVE ${SOURCE_PATH}/cmake/Modules/FindSFML.cmake)

View File

@ -1,7 +1,7 @@
{
"name": "sfgui",
"version-string": "0.4.0",
"port-version": 4,
"version": "0.4.0",
"port-version": 5,
"description": "simple and fast graphical user interface library",
"homepage": "https://github.com/TankOs/SFGUI",
"dependencies": [

View File

@ -6434,7 +6434,7 @@
},
"sfgui": {
"baseline": "0.4.0",
"port-version": 4
"port-version": 5
},
"sfml": {
"baseline": "2.5.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "50f11f13413cb93d73d44bd0c00787363a00c98c",
"version": "0.4.0",
"port-version": 5
},
{
"git-tree": "64f6f7ee9963a096a2b4260c55be6228a22846e5",
"version-string": "0.4.0",