diff options
Diffstat (limited to 'x11/gdm/patches/patch-ad')
-rw-r--r-- | x11/gdm/patches/patch-ad | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/x11/gdm/patches/patch-ad b/x11/gdm/patches/patch-ad deleted file mode 100644 index 50511c88258..00000000000 --- a/x11/gdm/patches/patch-ad +++ /dev/null @@ -1,21 +0,0 @@ -$NetBSD: patch-ad,v 1.6 2006/03/30 21:25:48 jmmv Exp $ - ---- daemon/xdmcp.c.orig 2006-02-08 00:57:25.000000000 +0100 -+++ daemon/xdmcp.c -@@ -1142,6 +1142,7 @@ gdm_xdmcp_handle_forward_query (struct s - - if (clnt_port.length == 2 && - clnt_addr.length == 4) { -+ char * ipv4_addr; - - /* Convert IPv4 address to IPv6 if needed */ - struct sockaddr_in tmp_disp_sa = {0}; -@@ -1149,7 +1150,7 @@ gdm_xdmcp_handle_forward_query (struct s - memcpy (&((struct sockaddr_in *)(&tmp_disp_sa))->sin_port, clnt_port.data, 2); - memcpy (&((struct sockaddr_in *)(&tmp_disp_sa))->sin_addr.s_addr, clnt_addr.data, 4); - -- char * ipv4_addr = inet_ntoa (((struct sockaddr_in *)(&tmp_disp_sa))->sin_addr); -+ ipv4_addr = inet_ntoa (((struct sockaddr_in *)(&tmp_disp_sa))->sin_addr); - strcpy (buffer6, "::ffff:"); - strncat (buffer6, ipv4_addr, INET_ADDRSTRLEN); - |