summaryrefslogtreecommitdiffstats
path: root/x11/gdm/files/patch-gui_simple-chooser_gdm-host-chooser-widget.c
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-11-30 04:05:12 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-11-30 04:05:12 +0800
commita3b5135851621cb514e7708d11f9dc82f851ea5c (patch)
treeb2b32cc424aeb8dc4d13263958511bf8ca92bc34 /x11/gdm/files/patch-gui_simple-chooser_gdm-host-chooser-widget.c
parent095098375dd5bb1d27d533ffc7dc27305e105c95 (diff)
downloadmarcuscom-ports-a3b5135851621cb514e7708d11f9dc82f851ea5c.tar
marcuscom-ports-a3b5135851621cb514e7708d11f9dc82f851ea5c.tar.gz
marcuscom-ports-a3b5135851621cb514e7708d11f9dc82f851ea5c.tar.bz2
marcuscom-ports-a3b5135851621cb514e7708d11f9dc82f851ea5c.tar.lz
marcuscom-ports-a3b5135851621cb514e7708d11f9dc82f851ea5c.tar.xz
marcuscom-ports-a3b5135851621cb514e7708d11f9dc82f851ea5c.tar.zst
marcuscom-ports-a3b5135851621cb514e7708d11f9dc82f851ea5c.zip
Remove these ports now that they are in the ports tree.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13266 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gdm/files/patch-gui_simple-chooser_gdm-host-chooser-widget.c')
-rw-r--r--x11/gdm/files/patch-gui_simple-chooser_gdm-host-chooser-widget.c38
1 files changed, 0 insertions, 38 deletions
diff --git a/x11/gdm/files/patch-gui_simple-chooser_gdm-host-chooser-widget.c b/x11/gdm/files/patch-gui_simple-chooser_gdm-host-chooser-widget.c
deleted file mode 100644
index 340e955b3..000000000
--- a/x11/gdm/files/patch-gui_simple-chooser_gdm-host-chooser-widget.c
+++ /dev/null
@@ -1,38 +0,0 @@
---- gui/simple-chooser/gdm-host-chooser-widget.c.orig 2009-02-19 21:45:09.000000000 -0500
-+++ gui/simple-chooser/gdm-host-chooser-widget.c 2009-05-11 02:34:20.000000000 -0400
-@@ -311,7 +311,7 @@ do_ping (GdmHostChooserWidget *widget,
- res = XdmcpFlush (widget->priv->socket_fd,
- &widget->priv->broadcast_buf,
- (XdmcpNetaddr)gdm_address_peek_sockaddr_storage (address),
-- (int)sizeof (struct sockaddr_storage));
-+ (int)gdm_sockaddr_len (gdm_address_peek_sockaddr_storage (address)));
- if (! res) {
- g_warning ("Unable to flush the XDMCP broadcast packet: %s", g_strerror (errno));
- }
-@@ -328,7 +328,7 @@ do_ping (GdmHostChooserWidget *widget,
- res = XdmcpFlush (widget->priv->socket_fd,
- &widget->priv->query_buf,
- (XdmcpNetaddr)gdm_address_peek_sockaddr_storage (address),
-- (int)sizeof (struct sockaddr_storage));
-+ (int)gdm_sockaddr_len (gdm_address_peek_sockaddr_storage (address)));
- if (! res) {
- g_warning ("Unable to flush the XDMCP query packet");
- }
-@@ -442,7 +442,7 @@ find_broadcast_addresses (GdmHostChooser
- /* paranoia */
- ifreq.ifr_name[sizeof (ifreq.ifr_name) - 1] = '\0';
-
-- if (ioctl (sock, SIOCGIFFLAGS, &ifreq) < 0) {
-+ if ((ioctl (sock, SIOCGIFFLAGS, &ifreq) < 0) && (errno != ENXIO)) {
- g_warning ("Could not get SIOCGIFFLAGS for %s", ifr[i].ifr_name);
- }
-
-@@ -542,6 +542,8 @@ xdmcp_init (GdmHostChooserWidget *widget
- #ifdef ENABLE_IPV6
- widget->priv->socket_fd = socket (AF_INET6, SOCK_DGRAM, 0);
- if (widget->priv->socket_fd != -1) {
-+ int off = 0;
-+ setsockopt(widget->priv->socket_fd, IPPROTO_IPV6, IPV6_V6ONLY, (void *)&off, sizeof (off));
- widget->priv->have_ipv6 = TRUE;
- }
- #endif