mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 13:16:17 +08:00
[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:
parent
bdd4b345ee
commit
aaeba6b1bf
13
ports/sfgui/002-add-limits-header.patch
Normal file
13
ports/sfgui/002-add-limits-header.patch
Normal 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.
|
@ -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)
|
||||
|
@ -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": [
|
||||
|
@ -6434,7 +6434,7 @@
|
||||
},
|
||||
"sfgui": {
|
||||
"baseline": "0.4.0",
|
||||
"port-version": 4
|
||||
"port-version": 5
|
||||
},
|
||||
"sfml": {
|
||||
"baseline": "2.5.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "50f11f13413cb93d73d44bd0c00787363a00c98c",
|
||||
"version": "0.4.0",
|
||||
"port-version": 5
|
||||
},
|
||||
{
|
||||
"git-tree": "64f6f7ee9963a096a2b4260c55be6228a22846e5",
|
||||
"version-string": "0.4.0",
|
||||
|
Loading…
Reference in New Issue
Block a user