diff options
author | Cy Schubert <cy@FreeBSD.org> | 2002-12-01 02:53:15 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2002-12-01 02:53:15 +0000 |
commit | 9edf7328e79fabf84e2d6bd649402f36d5592405 (patch) | |
tree | 00e0a931cd4aa1faa6ed4918244ba14436193dab | |
parent | Protect post-install target which is redefined by a slave port. (diff) |
Fix FvwmPager 100% CPU problem.
PR: 44820
Submitted by: parv_fm@emailgroups.net
Approved by: kris (wearing his portsmgr hat)
Notes
Notes:
svn path=/head/; revision=71267
-rw-r--r-- | x11-wm/fvwm2-devel/Makefile | 1 | ||||
-rw-r--r-- | x11-wm/fvwm2-devel/files/patch-modules::FvwmPager::x_pager.c | 24 |
2 files changed, 25 insertions, 0 deletions
diff --git a/x11-wm/fvwm2-devel/Makefile b/x11-wm/fvwm2-devel/Makefile index 364506c87799..c0b8b4248e13 100644 --- a/x11-wm/fvwm2-devel/Makefile +++ b/x11-wm/fvwm2-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= fvwm PORTVERSION= 2.5.4 +PORTREVISION= 1 CATEGORIES= x11-wm MASTER_SITES= ftp://ftp.fvwm.org/pub/fvwm/version-2/ \ http://www.fvwm.org/generated/icon_download/ diff --git a/x11-wm/fvwm2-devel/files/patch-modules::FvwmPager::x_pager.c b/x11-wm/fvwm2-devel/files/patch-modules::FvwmPager::x_pager.c new file mode 100644 index 000000000000..d8c25416f123 --- /dev/null +++ b/x11-wm/fvwm2-devel/files/patch-modules::FvwmPager::x_pager.c @@ -0,0 +1,24 @@ +--- modules/FvwmPager/x_pager.c.old Thu Oct 24 00:46:59 2002 ++++ modules/FvwmPager/x_pager.c Fri Nov 1 19:26:11 2002 +@@ -1630,8 +1630,8 @@ + XDrawLine( + dpy,Desks[desk].w,Desks[desk].DashedGC, + x1,y1,x1,y2); +- x += Scr.MyDisplayWidth; + } ++ x += Scr.MyDisplayWidth; + } + y = Scr.MyDisplayHeight; + x1 = 0; +@@ -1640,9 +1640,11 @@ + { + y1 = (y * desk_h) / Scr.VHeight; + if (!use_no_separators) ++ { + XDrawLine( + dpy,Desks[desk].w,Desks[desk].DashedGC, + x1,y1,x2,y1); ++ } + y += Scr.MyDisplayHeight; + } + } |