Browse Source

dillo: use fltk 1.4 branch

Waldemar Brodkorb 1 week ago
parent
commit
0a51f0e8d7
2 changed files with 3 additions and 16 deletions
  1. 3 2
      package/dillo/Makefile
  2. 0 14
      package/dillo/patches/patch-dpi_https_c

+ 3 - 2
package/dillo/Makefile

@@ -4,8 +4,8 @@
 include $(ADK_TOPDIR)/rules.mk
 
 PKG_NAME:=		dillo
-PKG_VERSION:=		c1fb64dd43c8cc479c8bfbff6df341c97a26423c
-PKG_GIT:=		hash
+PKG_VERSION:=		fltk-1.4
+PKG_GIT:=		branch
 PKG_RELEASE:=		1
 PKG_DESCR:=		small graphical web browser
 PKG_SECTION:=		x11/apps
@@ -29,6 +29,7 @@ TARGET_LDFLAGS+=	-latomic
 AUTOTOOL_STYLE:=	autoreconf
 CONFIGURE_ENV+=		PNG_CONFIG=$(STAGING_TARGET_DIR)/scripts/libpng-config
 CONFIGURE_ARGS+=	--enable-tls \
+			--enable-experimental-fltk \
 			--disable-xembed
 
 dillo-install:

+ 0 - 14
package/dillo/patches/patch-dpi_https_c

@@ -1,14 +0,0 @@
---- dillo-3.0.5.orig/dpi/https.c	2015-06-30 16:06:08.000000000 +0200
-+++ dillo-3.0.5/dpi/https.c	2024-03-04 08:18:34.867259406 +0100
-@@ -476,7 +476,11 @@ static int handle_certificate_problem(SS
-       case X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT:
-          /*Either self signed and untrusted*/
-          /*Extract CN from certificate name information*/
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L
-          if ((cn = strstr(remote_cert->name, "/CN=")) == NULL) {
-+#else
-+         if ((cn = strstr(X509_get_subject_name(remote_cert), "/CN=")) == NULL) {
-+#endif
-             strcpy(buf, "(no CN given)");
-          } else {
-             char *cn_end;