1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-07 11:49:40 +00:00

- Fix gmplayer crash after Xorg 7.4 update

Reported in:	ports/130966 / ports/132207
Approved by:	maintainer implicit
Obtained from:	mplayer repo
This commit is contained in:
Martin Wilke 2009-03-01 14:10:06 +00:00
parent 81c6807c61
commit c9f49ee956
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=229278
2 changed files with 11 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= mplayer
PORTVERSION= ${MPLAYER_PORT_VERSION}
PORTREVISION= 11
PORTREVISION= 12
COMMENT= High performance media player supporting many formats

View File

@ -0,0 +1,10 @@
--- gui/wm/ws.c.orgi 2009-03-01 14:37:10.000000000 +0100
+++ gui/wm/ws.c 2009-03-01 14:37:30.000000000 +0100
@@ -1157,6 +1157,7 @@
win->xImage->data=win->Shminfo.shmaddr;
win->Shminfo.readOnly=0;
XShmAttach( wsDisplay,&win->Shminfo );
+ XSync(wsDisplay, False);
shmctl( win->Shminfo.shmid,IPC_RMID,0 );
}
else