$OpenBSD: patch-hydra-gtk_src_callbacks_c,v 1.6 2021/02/14 13:42:13 jasper Exp $

Index: hydra-gtk/src/callbacks.c
--- hydra-gtk/src/callbacks.c.orig
+++ hydra-gtk/src/callbacks.c
@@ -63,7 +63,7 @@ int hydra_get_options(char *options[]) {
   gchar *tmp;
   GString *a;
 
-  options[0] = HYDRA_BIN;
+  options[0] = hydra_bin;
 
   /* get the port */
   widget = lookup_widget(GTK_WIDGET(wndMain), "spnPort");
@@ -585,7 +585,7 @@ int *popen_re_unbuffered(char *command) {
 
     (void)hydra_get_options(options);
 
-    execv(HYDRA_BIN, options);
+    execv(hydra_bin, options);
 
     g_warning("%s %i: popen_rw_unbuffered: execv() returned", __FILE__, __LINE__);
 
