aboutsummaryrefslogtreecommitdiff
path: root/accessibility/gail/files/patch-tests::ferret.c
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/gail/files/patch-tests::ferret.c')
-rw-r--r--accessibility/gail/files/patch-tests::ferret.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/accessibility/gail/files/patch-tests::ferret.c b/accessibility/gail/files/patch-tests::ferret.c
new file mode 100644
index 000000000000..0418c30c337d
--- /dev/null
+++ b/accessibility/gail/files/patch-tests::ferret.c
@@ -0,0 +1,27 @@
+
+$FreeBSD$
+
+--- tests/ferret.c 2002/02/17 09:45:53 1.1
++++ tests/ferret.c 2002/02/17 10:10:16
+@@ -3,9 +3,9 @@
+ #define MAX_GROUPS 20
+ #define MAX_NAME_VALUE 20
+
+-#include <netinet/in.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
++#include <netinet/in.h>
+ #include <sys/un.h>
+ #include <errno.h>
+ #include <unistd.h>
+@@ -239,8 +239,8 @@
+ static GtkWidget *menuitem_trackmouse = NULL;
+ static GtkWidget *menuitem_trackfocus = NULL;
+
+-static struct sockaddr_un mag_server = { AF_UNIX , "/tmp/magnifier_socket" };
+-static struct sockaddr_un client = { AF_UNIX, "/tmp/mag_client"};
++static struct sockaddr_un mag_server = { 0, AF_UNIX , "/tmp/magnifier_socket" };
++static struct sockaddr_un client = { 0, AF_UNIX, "/tmp/mag_client"};
+
+ /* GUI Information for the output window */
+ typedef struct