All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/qt5/qt5webkit: fix compilation with linaro 7.3 / 7.5 toolchains
@ 2022-03-10 12:41 Nicolas Carrier
  2022-03-10 12:42 ` Nicolas Carrier
  2022-07-24 10:33 ` Thomas Petazzoni via buildroot
  0 siblings, 2 replies; 3+ messages in thread
From: Nicolas Carrier @ 2022-03-10 12:41 UTC (permalink / raw)
  To: buildroot; +Cc: Peter Seiderer, Julien Corjon, Gaël Portay

An unitialized field in a structure, causes the following error:
    platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:234:5: error: braces around scalar initializer for type ‘gboolean (*)(GstAppSink*, gpointer) {aka int (*)(_GstAppSink*, void*)}’

This commit applies a patch to qt5webkit to fix the compilation issue.

Signed-off-by: Nicolas Carrier <nicolas.carrier@orolia.com>
---
 ...x-AudioFileReaderGStreamer-compilation.patch | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 package/qt5/qt5webkit/0005-fix-AudioFileReaderGStreamer-compilation.patch

diff --git a/package/qt5/qt5webkit/0005-fix-AudioFileReaderGStreamer-compilation.patch b/package/qt5/qt5webkit/0005-fix-AudioFileReaderGStreamer-compilation.patch
new file mode 100644
index 0000000000..dc2dcdafb7
--- /dev/null
+++ b/package/qt5/qt5webkit/0005-fix-AudioFileReaderGStreamer-compilation.patch
@@ -0,0 +1,17 @@
+AudioFileReaderGStreamer.cpp: fix error: braces around scalar initializer
+
+Compilation error, with linaro toolchains Linaro ARM 2018.05 and Linaro ARM
+2019.12.
+
+Signed-off-by: Nicolas Carrier <nicolas.carrier@orolia.com>
+
+--- a/Source/WebCore/platform/audio/gstreamer/AudioFileReaderGStreamer.cpp	2022-03-09 16:44:12.597494891 +0100
++++ b/Source/WebCore/platform/audio/gstreamer/AudioFileReaderGStreamer.cpp	2020-03-04 18:16:37.000000000 +0100
+@@ -230,6 +230,7 @@ void AudioFileReader::handleNewDeinterle
+         [](GstAppSink* sink, gpointer userData) -> GstFlowReturn {
+             return static_cast<AudioFileReader*>(userData)->handleSample(sink);
+         },
++        nullptr, // new_event
+         { nullptr }
+     };
+     gst_app_sink_set_callbacks(GST_APP_SINK(sink), &callbacks, this, 0);
-- 
2.30.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-24 10:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-10 12:41 [Buildroot] [PATCH 1/1] package/qt5/qt5webkit: fix compilation with linaro 7.3 / 7.5 toolchains Nicolas Carrier
2022-03-10 12:42 ` Nicolas Carrier
2022-07-24 10:33 ` Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.