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:
parent
b24a5794ba
commit
808deb28b3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=213862
@ -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 \
|
||||
|
14
x11-servers/xorg-server/files/patch-config_dbus-core.c
Normal file
14
x11-servers/xorg-server/files/patch-config_dbus-core.c
Normal 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;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user