mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
48e62d9a37
release can be found at http://library.gnome.org/misc/release-notes/2.30/ . This release brings initial PackageKit support, Upower (replaces power management part of hal), cuse4bsd integration with HAL and cheese, and a faster Evolution. Sadly GNOME 2.30.x will be the last release with FreeBSD 6.X support. This will also be the last of the 2.x releases. The next release will be the highly-anticipated GNOME 3.0 which will bring with it a new UI experience. Currently, there are a few bugs with GNOME 2.30 that may be of note for our users. Be sure to consult the UPGRADING note or the 2.30 upgrade FAQ at http://www.freebsd.org/gnome/docs/faq230.html for specific upgrading instructions, and the up-to-date list of known issues. This release features commits by avl, ahze, bland, marcus, mezz, and myself. The FreeBSD GNOME Team would like to thank Anders F Bjorklund for doing the initual packagekit porting. And the following contributors & testers for there help with this release: Eric L. Chen Vladimir Grebenschikov Sergio de Almeida Lenzi DomiX walder crsd Kevin Oberman Michal Varga Pavel Plesov Bapt kevin and ITetcu for two exp-run PR: ports/143852 ports/145347 ports/144980 ports/145830 ports/145511
49 lines
1.4 KiB
C
49 lines
1.4 KiB
C
--- daemon/gdm-xdmcp-display-factory.c.orig 2009-12-21 17:36:30.000000000 +0100
|
|
+++ daemon/gdm-xdmcp-display-factory.c 2009-12-26 23:26:24.000000000 +0100
|
|
@@ -35,6 +35,7 @@
|
|
#include <netdb.h>
|
|
#include <arpa/inet.h>
|
|
#include <net/if.h>
|
|
+#include <netinet/in.h>
|
|
#ifdef HAVE_SYS_SOCKIO_H
|
|
#include <sys/sockio.h>
|
|
#endif
|
|
@@ -76,7 +77,7 @@
|
|
#define DEFAULT_USE_MULTICAST FALSE
|
|
#define DEFAULT_MULTICAST_ADDRESS "ff02::1"
|
|
#define DEFAULT_HONOR_INDIRECT TRUE
|
|
-#define DEFAULT_MAX_DISPLAYS_PER_HOST 1
|
|
+#define DEFAULT_MAX_DISPLAYS_PER_HOST 2
|
|
#define DEFAULT_MAX_DISPLAYS 16
|
|
#define DEFAULT_MAX_PENDING_DISPLAYS 4
|
|
#define DEFAULT_MAX_WAIT 30
|
|
@@ -404,6 +405,11 @@
|
|
create_socket (struct addrinfo *ai)
|
|
{
|
|
int sock;
|
|
+#ifdef ENABLE_IPV6
|
|
+#ifdef IPV6_V6ONLY
|
|
+ int off = 0;
|
|
+#endif
|
|
+#endif
|
|
|
|
sock = socket (ai->ai_family, ai->ai_socktype, ai->ai_protocol);
|
|
if (sock < 0) {
|
|
@@ -411,6 +417,16 @@
|
|
return sock;
|
|
}
|
|
|
|
+#ifdef ENABLE_IPV6
|
|
+#ifdef IPV6_V6ONLY
|
|
+ if (setsockopt (sock, IPPROTO_IPV6, IPV6_V6ONLY, (void *)&off, sizeof (off)) < 0) {
|
|
+ g_warning ("setsockopt: %s", g_strerror (errno));
|
|
+ close (sock);
|
|
+ return -1;
|
|
+ }
|
|
+#endif
|
|
+#endif
|
|
+
|
|
if (bind (sock, ai->ai_addr, ai->ai_addrlen) < 0) {
|
|
g_warning ("bind: %s", g_strerror (errno));
|
|
close (sock);
|