I have just build latest version from Ports, same from package: % wmctrl -d GLib-ERROR **: gmem.c:157: failed to allocate 18049582881570848 bytes aborting... zsh: abort wmctrl -d How-To-Repeat: % wmctrl -d
Responsible Changed From-To: freebsd-ports-bugs->flz Over to maintainer (via the GNATS Auto Assign Tool)
This patch solves the problem (found on the net): --- main.c.orig 2005-01-29 04:31:33.000000000 +0100 +++ main.c 2009-01-31 16:52:09.000000000 +0100 @@ -1441,6 +1441,8 @@ /* null terminate the result to make string handling easier */ tmp_size = (ret_format / 8) * ret_nitems; + /* Correct 64 Architecture implementation of 32 bit data */ + if(ret_format==32) tmp_size *= sizeof(long)/4; ret = g_malloc(tmp_size + 1); memcpy(ret, ret_prop, tmp_size); ret[tmp_size] = '\0'; Regards, vermaden ---------------------------------------------------------------------- Gra dla duzych chlopcow. http://linkint.pl/f2717
flz 2010-12-20 11:13:44 UTC FreeBSD ports repository Modified files: x11/wmctrl Makefile Added files: x11/wmctrl/files patch-main.c Log: Fix -d on openbox. PR: ports/152731 Submitted by: vermaden <vermaden@interia.pl> Revision Changes Path 1.10 +1 -1 ports/x11/wmctrl/Makefile 1.1 +12 -0 ports/x11/wmctrl/files/patch-main.c (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!