Codebase list dillo / 3ccf842
Drop FTBFS-on-hurd.patch. Applied upstream Axel Beckert 10 years ago
3 changed file(s) with 7 addition(s) and 28 deletion(s). Raw diff Collapse all Expand all
0 dillo (3.0.4~rc1-1) UNRELEASED; urgency=low
1
2 * New upstream release candidate
3 + Drop FTBFS-on-hurd.patch. Applied upstream.
4
5 -- Axel Beckert <abe@debian.org> Sat, 05 Apr 2014 20:01:25 +0200
6
07 dillo (3.0.3-6) unstable; urgency=low
18
29 * Apply wrap-and-sort
+0
-27
debian/patches/FTBFS-on-hurd.patch less more
0 Description: Fixes FTBFS on hurd-i386
1 Author: Pino Toscano <pino@debian.org>
2
3 --- a/dw/hyphenator.cc
4 +++ b/dw/hyphenator.cc
5 @@ -49,7 +49,7 @@ Hyphenator::Hyphenator (const char *patF
6 {
7 trie = NULL; // As long we are not sure whether a pattern file can be read.
8
9 - char buf[PATH_MAX + 1];
10 + char buf[strlen (patFile) + 5 + 1];
11 snprintf(buf, sizeof (buf), "%s.trie", patFile);
12 FILE *trieF = fopen (buf, "r");
13
14 @@ -118,10 +118,10 @@ Hyphenator *Hyphenator::getHyphenator (c
15 if (hyphenator)
16 delete langString;
17 else {
18 - char patFile [PATH_MAX];
19 + char patFile [strlen (DILLO_LIBDIR) + 13 + strlen (lang) + 4 + 1];
20 snprintf (patFile, sizeof (patFile), "%s/hyphenation/%s.pat",
21 DILLO_LIBDIR, lang);
22 - char excFile [PATH_MAX];
23 + char excFile [strlen (DILLO_LIBDIR) + 13 + strlen (lang) + 4 + 1];
24 snprintf (excFile, sizeof(excFile), "%s/hyphenation/%s.exc",
25 DILLO_LIBDIR, lang);
26
+0
-1
debian/patches/series less more
0 FTBFS-on-hurd.patch