svn commit: r392427 - in head/x11/yad: . files

Danilo Egea Gondolfo danilo at FreeBSD.org
Sat Jul 18 16:33:16 UTC 2015


Author: danilo
Date: Sat Jul 18 16:33:15 2015
New Revision: 392427
URL: https://svnweb.freebsd.org/changeset/ports/392427

Log:
  - Fix build
  - Disable HTML support for now

Added:
  head/x11/yad/files/
  head/x11/yad/files/patch-src_main.c   (contents, props changed)
Modified:
  head/x11/yad/Makefile

Modified: head/x11/yad/Makefile
==============================================================================
--- head/x11/yad/Makefile	Sat Jul 18 16:10:39 2015	(r392426)
+++ head/x11/yad/Makefile	Sat Jul 18 16:33:15 2015	(r392427)
@@ -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

Added: head/x11/yad/files/patch-src_main.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/yad/files/patch-src_main.c	Sat Jul 18 16:33:15 2015	(r392427)
@@ -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 ();


More information about the svn-ports-head mailing list