From owner-cvs-ports@FreeBSD.ORG Fri Jul 8 10:00:40 2011 Return-Path: Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C7311065670; Fri, 8 Jul 2011 10:00:40 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8D3538FC19; Fri, 8 Jul 2011 10:00:40 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p68A0eKj053292; Fri, 8 Jul 2011 10:00:40 GMT (envelope-from danfe@repoman.freebsd.org) Received: (from danfe@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p68A0eIr053291; Fri, 8 Jul 2011 10:00:40 GMT (envelope-from danfe) Message-Id: <201107081000.p68A0eIr053291@repoman.freebsd.org> From: Alexey Dokuchaev Date: Fri, 8 Jul 2011 10:00:40 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/x11-wm/blackbox/files patch-src_Screen.cc patch-src_Slit.cc X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2011 10:00:40 -0000 danfe 2011-07-08 10:00:40 UTC FreeBSD ports repository Added files: x11-wm/blackbox/files patch-src_Screen.cc patch-src_Slit.cc Log: Add two patches to Blackbox: Setting _NET_NUMBER_OF_DESKTOPS may cause Blackbox to explode. The problem is due to a bad loop condition in Screen.cc::clientMessageEvent(). If the difference between the new number of desktops and initial workspaceCount() is odd, the condition is always true, or at least until "number" underflows or overflows. BB will usually end up munching a lot of memory and dying when it creates thousands of desktops first, though (tracker ID 2306646). Blackbox does not handle transparency correctly in its slit, which causes applications like x11/bbdock to display garbled graphics. Patch suggested by the author of BBDock. Port revision will be bumped separately, as there are more changes coming. Approved by: maintainer Revision Changes Path 1.1 +19 -0 ports/x11-wm/blackbox/files/patch-src_Screen.cc (new) 1.1 +16 -0 ports/x11-wm/blackbox/files/patch-src_Slit.cc (new)