Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2002 12:40:10 +0300 (MSK)
From:      spn <spn@g0v.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/34440: Update port: x11-wm/fluxbox fix bugs
Message-ID:  <200201300940.g0U9eAL08915@robinzlobin.g0v.ru>

next in thread | raw e-mail | index | archive | help

>Number:         34440
>Category:       ports
>Synopsis:       Update port: x11-wm/fluxbox fix bugs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 30 01:40:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     spn
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
none
>Environment:
System: FreeBSD robinzlobin.g0v.ru 4.4-RELEASE FreeBSD 4.4-RELEASE #10: Fri Dec 14 23:45:51 MSK 2001 delta@robinzlobin.g0v.ru:/usr/src/sys/compile/GOLEM666 i386


>Description:
	- Fix bugs (patches from author)
>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	files/patch-aa
#	files/patch-ab
#
echo x - files/patch-aa
sed 's/^X//' >files/patch-aa << 'END-of-files/patch-aa'
X$OpenBSD$
XBugfix2 from author.
X--- src/StringUtil.cc.orig	Wed Jan  9 15:11:20 2002
X+++ src/StringUtil.cc	Wed Jan 30 06:54:54 2002
X@@ -67,7 +67,7 @@ char *StringUtil::expandFilename(const c
X   
X 	auto_ptr<char> retval( new char[strlen(filename)+strlen(getenv("HOME"))+2]);
X   if (filename[0]=='~') {
X-    strcat(retval.get(), getenv("HOME"));
X+    strcpy(retval.get(), getenv("HOME"));
X     strcat(retval.get(), &filename[1]);
X   } else
X     return StringUtil::strdup(filename);	//return unmodified value
END-of-files/patch-aa
echo x - files/patch-ab
sed 's/^X//' >files/patch-ab << 'END-of-files/patch-ab'
X$OpenBSD$
XBugfix1 from author
X--- src/Window.cc.orig	Fri Jan 11 13:21:59 2002
X+++ src/Window.cc	Wed Jan 30 06:54:54 2002
X@@ -22,7 +22,7 @@
X // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
X // DEALINGS IN THE SOFTWARE.
X 
X-// $Id: Window.cc,v 1.18 2002/01/11 10:04:32 fluxgen Exp $
X+// $Id: Window.cc,v 1.19.2.1 2002/01/12 16:36:18 fluxgen Exp $
X 
X // stupid macros needed to access some functions in version 2 of the GNU C
X // library
X@@ -441,7 +441,9 @@ FluxboxWindow::FluxboxWindow(Window w, B
X 
X FluxboxWindow::~FluxboxWindow(void) {
X 	Fluxbox *fluxbox = Fluxbox::instance();
X-	
X+	//TODO: Move this to Workspace::removeWindow
X+	if (client.transient_for)	
X+		fluxbox->setFocusedWindow(client.transient_for);	
X 	
X 	if (moving || resizing) {
X 		screen->hideGeometry();
X@@ -556,9 +558,7 @@ FluxboxWindow::~FluxboxWindow(void) {
X 		fluxbox->removeWindowSearch(client.window);
X 		screen->removeNetizen(client.window);
X 	}
X-	//TODO: Move this to Workspace::removeWindow
X-	if (client.transient_for)	
X-		fluxbox->setFocusedWindow(client.transient_for);	
X+	
X 	#ifdef DEBUG	
X 	fprintf(stderr, "%s(%d): ~FluxboxWindow(this=%p) done\n", __FILE__, __LINE__, this);
X 	#endif
END-of-files/patch-ab
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201300940.g0U9eAL08915>