mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
[qtbase] Fix build on FreeBSD 15 (#49167)
This commit is contained in:
@@ -29,6 +29,7 @@ set(${PORT}_PATCHES
|
||||
fix-libresolv-test.patch
|
||||
2d4915.diff
|
||||
framework.patch
|
||||
use_inotify_on_freebsd.patch
|
||||
)
|
||||
|
||||
if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
|
||||
|
||||
13
ports/qtbase/use_inotify_on_freebsd.patch
Normal file
13
ports/qtbase/use_inotify_on_freebsd.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/src/corelib/io/qfilesystemwatcher.cpp b/src/corelib/io/qfilesystemwatcher.cpp
|
||||
index cd72f21a..2fba878f 100644
|
||||
--- a/src/corelib/io/qfilesystemwatcher.cpp
|
||||
+++ b/src/corelib/io/qfilesystemwatcher.cpp
|
||||
@@ -11,7 +11,7 @@
|
||||
#include <qloggingcategory.h>
|
||||
#include <qset.h>
|
||||
|
||||
-#if (defined(Q_OS_LINUX) || defined(Q_OS_QNX)) && QT_CONFIG(inotify)
|
||||
+#if (defined(Q_OS_LINUX) || defined(Q_OS_QNX) || defined(Q_OS_FREEBSD)) && QT_CONFIG(inotify)
|
||||
#define USE_INOTIFY
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "qtbase",
|
||||
"version": "6.10.0",
|
||||
"port-version": 1,
|
||||
"description": "Qt Base (Core, Gui, Widgets, Network, ...)",
|
||||
"homepage": "https://www.qt.io/",
|
||||
"license": null,
|
||||
|
||||
@@ -8142,7 +8142,7 @@
|
||||
},
|
||||
"qtbase": {
|
||||
"baseline": "6.10.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"qtcharts": {
|
||||
"baseline": "6.10.0",
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "1ab7c7c7654ecd1fa22b8c05c9cfc3c3e91aadc8",
|
||||
"version": "6.10.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "c59faa7f07b2a2e49ad0bfdee81d55ff8b5068a5",
|
||||
"version": "6.10.0",
|
||||
|
||||
Reference in New Issue
Block a user