diff --git a/net/rdesktop/Makefile b/net/rdesktop/Makefile index daf150d1a40c..505337d3f793 100644 --- a/net/rdesktop/Makefile +++ b/net/rdesktop/Makefile @@ -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} diff --git a/net/rdesktop/files/patch-xwin.c b/net/rdesktop/files/patch-xwin.c new file mode 100644 index 000000000000..6d27fc9f1d90 --- /dev/null +++ b/net/rdesktop/files/patch-xwin.c @@ -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) + {