- Fix build

- Disable HTML support for now
This commit is contained in:
Danilo Egea Gondolfo 2015-07-18 16:33:15 +00:00
parent 511adaff84
commit 22a0f93a2d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=392427
2 changed files with 19 additions and 0 deletions

View File

@ -16,6 +16,7 @@ GNU_CONFIGURE= yes
INSTALLS_OMF= yes
INSTALLS_ICONS= yes
CONFIGURE_ENV+= DATADIRNAME=share
CONFIGURE_ARGS+= --disable-html
OPTIONS_DEFINE= NLS ICONBROWSER
ICONBROWSER_DESC= Build YAD icon browser

View File

@ -0,0 +1,18 @@
--- src/main.c.orig 2015-07-18 16:00:17 UTC
+++ src/main.c
@@ -765,6 +765,7 @@ main (gint argc, gchar ** argv)
ret = yad_print_run ();
break;
+#ifdef HAVE_HTML
case YAD_MODE_HTML:
/* Webkit doesn't handle focus for child dialogs when gtk_dialog_run() is used */
/* FIXME: maybe this solution must be expanded to all dialogs */
@@ -775,6 +776,7 @@ main (gint argc, gchar ** argv)
gtk_main ();
break;
+#endif
default:
dialog = create_dialog ();