summaryrefslogtreecommitdiffstats
path: root/package/qt5/qt5webengine/5.6.3/0001-Change-default-SSL-directory.patch
diff options
context:
space:
mode:
authorGaël PORTAY <gael.portay@savoirfairelinux.com>2017-11-23 18:26:19 -0500
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-11-27 21:42:12 +0100
commit00012bf9d5943f007e0ae0e1e45ff6dab102e9d6 (patch)
tree8b438d130ea1fcb82bb6ac9b78c161cc05ebaee1 /package/qt5/qt5webengine/5.6.3/0001-Change-default-SSL-directory.patch
parentb101114b82dba39cc58b66dbc870f2ef613afbcf (diff)
downloadbuildroot-00012bf9d5943f007e0ae0e1e45ff6dab102e9d6.tar.gz
buildroot-00012bf9d5943f007e0ae0e1e45ff6dab102e9d6.zip
qt5webengine: enable build for 5.6.3
The build was broken in 5.6.2 and was disabled. It compiles fine since 5.6.3. The two additional patches are useful at run-time. The first one avoid the need to specify the path to the SSL certificate directory (using an additional environment variable). The second one is the same used in 5.9.x (plus resolved conflicts). It uses the process's context to get handles on EGL and GLESv2 libraries. Those libraries are linked to Qt WebEngine at compile time. The patch is particularly usefull for RPI boards since the raspberrypi userland package does not provide the libEGLv2.so.2 and libGLES.so.1 symlinks. Both library paths are hardcoded in Qt WebEngine. Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/qt5/qt5webengine/5.6.3/0001-Change-default-SSL-directory.patch')
-rw-r--r--package/qt5/qt5webengine/5.6.3/0001-Change-default-SSL-directory.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/package/qt5/qt5webengine/5.6.3/0001-Change-default-SSL-directory.patch b/package/qt5/qt5webengine/5.6.3/0001-Change-default-SSL-directory.patch
new file mode 100644
index 0000000000..15cd9f87bb
--- /dev/null
+++ b/package/qt5/qt5webengine/5.6.3/0001-Change-default-SSL-directory.patch
@@ -0,0 +1,35 @@
+From fc41c0f572ff347142cca4bf5d82b87782bb5906 Mon Sep 17 00:00:00 2001
+From: =?utf-8?q?Ga=C3=ABl=20PORTAY?= <gael.portay@savoirfairelinux.com>
+Date: Thu, 23 Nov 2017 16:18:06 -0500
+Subject: [PATCH] Change default SSL directory
+MIME-Version: 1.0
+Content-Type: text/plain; charset=utf-8
+Content-Transfer-Encoding: 8bit
+
+Change the default SSL directory, as buildroot ca-cert package is
+installed at /etc/ssl. That way, we don't have to use the SSL_CERT_DIR
+environment at runtime.
+
+Upstream-Status: Inappropriate
+Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
+Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
+---
+ src/core/qtwebengine_extras.gypi | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/core/qtwebengine_extras.gypi b/src/core/qtwebengine_extras.gypi
+index 229421ef..3b2386c0 100644
+--- a/src/core/qtwebengine_extras.gypi
++++ b/src/core/qtwebengine_extras.gypi
+@@ -96,7 +96,7 @@
+ 'GL_GLEXT_PROTOTYPES',
+ 'EGL_EGLEXT_PROTOTYPES',
+ # At runtime the env variable SSL_CERT_DIR can be used to override this
+- 'OPENSSLDIR="/usr/lib/ssl"',
++ 'OPENSSLDIR="/etc/ssl"',
+ 'OPENSSL_LOAD_CONF',
+ 'EGL_API_FB=1',
+ 'LINUX=1',
+--
+2.15.0
+
OpenPOWER on IntegriCloud