svn commit: r311132 - in head/editors/chexedit: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Jan 28 17:47:31 UTC 2013
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)
More information about the svn-ports-all
mailing list