1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

Add upstream patch (don't free not-allocated dbus socket).

PR:		ports/124081
Submitted by:	deischen
Obtained from:	fd.o git repository
This commit is contained in:
Florent Thoumie 2008-05-29 11:02:54 +00:00
parent b24a5794ba
commit 808deb28b3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=213862
2 changed files with 15 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= xorg-server
PORTVERSION= 1.4
PORTREVISION= 8
PORTREVISION= 9
PORTEPOCH= 1
CATEGORIES= x11-servers
MASTER_SITES= http://xorg.freedesktop.org/releases/individual/xserver/:fdo \

View File

@ -0,0 +1,14 @@
--- config/dbus-core.c.orig 2008-05-28 18:04:17.000000000 +0000
+++ config/dbus-core.c 2008-05-28 18:04:01.000000000 +0000
@@ -87,7 +87,8 @@
dbus_connection_unref(bus_info.connection);
RemoveBlockAndWakeupHandlers(block_handler, wakeup_handler, &bus_info);
- RemoveGeneralSocket(bus_info.fd);
+ if (bus_info.fd != -1)
+ RemoveGeneralSocket(bus_info.fd);
bus_info.fd = -1;
bus_info.connection = NULL;