Summary: | x11/wmctrl segfaults with -d option on openbox | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Slawomir Wojciech Wojtczak <vermaden> |
Component: | Individual Port(s) | Assignee: | Florent Thoumie <flz> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Slawomir Wojciech Wojtczak
2010-12-01 03:10:11 UTC
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! |