mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
- Fix a crash on login for people running on X.org 7.2 in 24-bit color depth
PR: ports/113216, ports/113678 Submitted by: Thomas Spreng <spreng@socket.ch> Approved by: maintainer timeout (obrien; 18 days)
This commit is contained in:
parent
a11bafb022
commit
e5ea62c715
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=193855
2 changed files with 12 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= rdesktop
|
||||
PORTVERSION= 1.5.0
|
||||
PORTREVISION?= 1
|
||||
PORTREVISION?= 2
|
||||
CATEGORIES= net comms
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
|
11
net/rdesktop/files/patch-xwin.c
Normal file
11
net/rdesktop/files/patch-xwin.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- xwin.c.orig Fri Jun 1 10:27:15 2007
|
||||
+++ xwin.c Fri Jun 1 10:28:26 2007
|
||||
@@ -3219,7 +3219,7 @@
|
||||
return;
|
||||
|
||||
image = XCreateImage(g_display, g_visual, g_depth, ZPixmap, 0,
|
||||
- (char *) data, cx, cy, BitmapPad(g_display), cx * g_bpp / 8);
|
||||
+ (char *) data, cx, cy, g_bpp, 0);
|
||||
|
||||
if (g_ownbackstore)
|
||||
{
|
Loading…
Add table
Reference in a new issue