summaryrefslogtreecommitdiff
path: root/hungarian
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2008-04-23 16:02:00 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2008-04-23 16:02:00 +0000
commit2a352a50665c60beb6889da403fab7df4c2995c7 (patch)
tree723380e0918129a49061db038646a988cfa69300 /hungarian
parent- Fix build after xorg cleanup (diff)
- Fix checking on LaTeX files on amd64
- Bump PORTREVISION PR: ports/122581 Submitted by: Roland Smith <rsmith@xs4all.nl> Approved by: Janos Mohacsi <mohacsi@niif.hu> (maintainer)
Notes
Notes: svn path=/head/; revision=211844
Diffstat (limited to 'hungarian')
-rw-r--r--hungarian/hunspell/Makefile1
-rw-r--r--hungarian/hunspell/files/patch-src_parsers_latexparser.cxx11
2 files changed, 12 insertions, 0 deletions
diff --git a/hungarian/hunspell/Makefile b/hungarian/hunspell/Makefile
index bf86e0b28563..1aebb4b18ae0 100644
--- a/hungarian/hunspell/Makefile
+++ b/hungarian/hunspell/Makefile
@@ -7,6 +7,7 @@
PORTNAME= hunspell
PORTVERSION= 1.2.2b
+PORTREVISION= 1
CATEGORIES= hungarian textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S@$@:code@:S@%SUBDIR%@${PORTNAME}@} \
${MASTER_SITE_SOURCEFORGE:S@$@:data@:S@%SUBDIR%@magyarispell@}
diff --git a/hungarian/hunspell/files/patch-src_parsers_latexparser.cxx b/hungarian/hunspell/files/patch-src_parsers_latexparser.cxx
new file mode 100644
index 000000000000..89c6b60bed1b
--- /dev/null
+++ b/hungarian/hunspell/files/patch-src_parsers_latexparser.cxx
@@ -0,0 +1,11 @@
+--- src/parsers/latexparser.cxx.orig 2008-04-23 17:56:27.000000000 +0200
++++ src/parsers/latexparser.cxx 2008-04-23 17:57:00.000000000 +0200
+@@ -82,7 +82,7 @@
+ { { "\\url", NULL } , 1 }
+ };
+
+-#define PATTERN_LEN (sizeof(PATTERN) / ((sizeof(char *) * 2) + sizeof(int)))
++#define PATTERN_LEN (sizeof(PATTERN) / sizeof(PATTERN[0]))
+
+ LaTeXParser::LaTeXParser(const char * wordchars)
+ {