Skip to contentSkip to conversation

package/netsurf: force libopenssl

PATCH Applied Fabrice Fontaine 3 participants 3 messages Feb 22, 2023 – Mar 5, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/netsurf: force libopenssl

netsurf raises the following build failure since bump of libressl to version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2:

content/fetchers/about.c: In function 'ns_X509_get_signature_nid':
content/fetchers/about.c:548:25: error: dereferencing pointer to incomplete type 'X509 {aka struct x509_st}'

  return OBJ_obj2nid(cert->cert_info->key->algor->algorithm);
                         ^~

Fixes:
- http://autobuild.buildroot.org/results/c225aaac31398ba495921bd4b85e588199822561

---
 package/netsurf/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/netsurf/Config.in +1 -0
index 4f7d5c2713..394befcf28 100644
@@ -20,6 +20,7 @@ config BR2_PACKAGE_NETSURF
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 	select BR2_PACKAGE_LIBPNG
 	select BR2_PACKAGE_OPENSSL if BR2_PACKAGE_LIBCURL
+	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL if BR2_PACKAGE_LIBCURL
 	help
 	  NetSurf is a compact graphical web browser which aims for
 	  HTML5, CSS and JavaScript support.
Signature · 6 lines
2.39.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 8 lines · On Wed, 22 Feb 2023 22:22:35 +0100 Fabrice Fontaine…

netsurf raises the following build failure since bump of libressl to version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2:

content/fetchers/about.c: In function 'ns_X509_get_signature_nid':
content/fetchers/about.c:548:25: error: dereferencing pointer to incomplete type 'X509 {aka struct x509_st}'

  return OBJ_obj2nid(cert->cert_info->key->algor->algorithm);
                         ^~
Quoted 7 lines

Fixes:
- http://autobuild.buildroot.org/results/c225aaac31398ba495921bd4b85e588199822561

---
 package/netsurf/Config.in | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Fabrice Fontaine
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

netsurf raises the following build failure since bump of libressl to version 3.5.2 in commit 8b216927db080b38fdbf1f8b025b6f90a89d4bc2:

content/fetchers/about.c: In function 'ns_X509_get_signature_nid':
content/fetchers/about.c:548:25: error: dereferencing pointer to incomplete type 'X509 {aka struct x509_st}'

Quoted 7 lines
  return OBJ_obj2nid(cert->cert_info->key->algor->algorithm);
                         ^~

Fixes:
- http://autobuild.buildroot.org/results/c225aaac31398ba495921bd4b85e588199822561

Committed to 2022.11.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot