summaryrefslogtreecommitdiff
path: root/devel/directfb/files/patch-lib-voodoo-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/directfb/files/patch-lib-voodoo-manager.c')
-rw-r--r--devel/directfb/files/patch-lib-voodoo-manager.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/directfb/files/patch-lib-voodoo-manager.c b/devel/directfb/files/patch-lib-voodoo-manager.c
new file mode 100644
index 000000000000..66fa4d181d92
--- /dev/null
+++ b/devel/directfb/files/patch-lib-voodoo-manager.c
@@ -0,0 +1,11 @@
+--- lib/voodoo/manager.c.orig 2007-12-15 14:30:28.000000000 +0200
++++ lib/voodoo/manager.c 2008-03-16 14:51:33.000000000 +0200
+@@ -186,7 +186,7 @@
+
+ D_DEBUG( "Voodoo/Manager: Creating manager at %p.\n", manager );
+
+- if (setsockopt( fd, SOL_IP, IP_TOS, &tos, sizeof(tos) ) < 0)
++ if (setsockopt( fd, IPPROTO_IP, IP_TOS, &tos, sizeof(tos) ) < 0)
+ D_PERROR( "Voodoo/Manager: Could not set IP_TOS!\n" );
+
+ if (setsockopt( fd, SOL_TCP, TCP_NODELAY, &one, sizeof(one) ) < 0)