$OpenBSD: patch-plug-ins_script-fu_script-fu-server_c,v 1.3 2013/03/17 23:48:24 sthen Exp $
--- plug-ins/script-fu/script-fu-server.c.orig	Tue Oct  2 21:13:27 2012
+++ plug-ins/script-fu/script-fu-server.c	Sun Mar 17 23:47:44 2013
@@ -460,7 +460,11 @@ server_start (gint         port,
   const gchar     *progress;
 
   memset (&hints, 0, sizeof (hints));
+#ifdef AI_ADDRCONFIG
   hints.ai_flags = AI_PASSIVE | AI_ADDRCONFIG;
+#else
+  hints.ai_flags = AI_PASSIVE;
+#endif
   hints.ai_socktype = SOCK_STREAM;
 
   port_s = g_strdup_printf ("%d", port);
