Date: Mon, 28 Jan 2013 17:47:30 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r311132 - in head/editors/chexedit: . files Message-ID: <201301281747.r0SHlUUf059047@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Mon Jan 28 17:47:30 2013 New Revision: 311132 URL: http://svnweb.freebsd.org/changeset/ports/311132 Log: - Fix search on 64-bit systems Added: head/editors/chexedit/files/patch-src-search.c (contents, props changed) Modified: head/editors/chexedit/Makefile Modified: head/editors/chexedit/Makefile ============================================================================== --- head/editors/chexedit/Makefile Mon Jan 28 17:12:00 2013 (r311131) +++ head/editors/chexedit/Makefile Mon Jan 28 17:47:30 2013 (r311132) @@ -7,6 +7,7 @@ PORTNAME= chexedit PORTVERSION= 0.9.7 +PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= http://www.rogoyski.com/adam/programs/hexedit/ \ http://mirror.amdmi3.ru/distfiles/ Added: head/editors/chexedit/files/patch-src-search.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/editors/chexedit/files/patch-src-search.c Mon Jan 28 17:47:30 2013 (r311132) @@ -0,0 +1,11 @@ +--- src/search.c.orig 1999-06-27 17:45:29.000000000 +0400 ++++ src/search.c 2013-01-28 21:43:29.590293182 +0400 +@@ -39,7 +39,7 @@ + if (!buf) + return &found; + +- memset (l_table, 0, 256 * sizeof (int)); ++ memset (l_table, 0, 256 * sizeof (unsigned long)); + i = 0; + s = substr + len - 1; + while (i < len)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301281747.r0SHlUUf059047>