diff options
Diffstat (limited to 'repo/qt5-qtwebengine')
-rw-r--r-- | repo/qt5-qtwebengine/fix-strncpy-error.patch | 10 | ||||
-rw-r--r-- | repo/qt5-qtwebengine/qt5-qtwebengine.xibuild | 3 |
2 files changed, 12 insertions, 1 deletions
diff --git a/repo/qt5-qtwebengine/fix-strncpy-error.patch b/repo/qt5-qtwebengine/fix-strncpy-error.patch new file mode 100644 index 0000000..11294de --- /dev/null +++ b/repo/qt5-qtwebengine/fix-strncpy-error.patch @@ -0,0 +1,10 @@ +--- build/src/3rdparty/chromium/mojo/public/cpp/platform/named_platform_channel_posix.cc 2022-07-07 22:23:50.602954227 +0100 ++++ build2/src/3rdparty/chromium/mojo/public/cpp/platform/named_platform_channel_posix.cc 2022-07-11 12:57:26.005060552 +0100 +@@ -8,6 +8,7 @@ + #include <sys/socket.h> + #include <sys/un.h> + #include <unistd.h> ++#include <cstring> + + #include "base/files/file_util.h" + #include "base/files/scoped_file.h" diff --git a/repo/qt5-qtwebengine/qt5-qtwebengine.xibuild b/repo/qt5-qtwebengine/qt5-qtwebengine.xibuild index 833a12f..8d2ce0e 100644 --- a/repo/qt5-qtwebengine/qt5-qtwebengine.xibuild +++ b/repo/qt5-qtwebengine/qt5-qtwebengine.xibuild @@ -41,6 +41,7 @@ qt-musl-tid-caching.patch remove-glibc-check.patch sndio.patch support-python3.patch +fix-strncpy-error.patch " prepare() { @@ -57,7 +58,7 @@ prepare() { } build() { - qmake-qt5 QMAKE_EXTRA_ARGS+="-webengine-sndio -system-ffmpeg -system-opus -system-webp -proprietary-codecs" CONFIG+=force_debug_info + qmake-qt5 QMAKE_EXTRA_ARGS="-webengine-sndio -system-ffmpeg -system-opus -system-webp -proprietary-codecs" CONFIG=force_debug_info make } |