/[packages]/cauldron/w3m/current/SOURCES/w3m-0.5.2-literal.patch
ViewVC logotype

Annotation of /cauldron/w3m/current/SOURCES/w3m-0.5.2-literal.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 147791 - (hide annotations) (download)
Sun Sep 25 17:31:31 2011 UTC (10 years, 1 month ago) by pterjan
File size: 1047 byte(s)
- Update to 0.5.3
- Fix sys_errlist test instead of removing it
1 saispo 65217 --- w3m-0.5.2/w3mbookmark.c 2007-05-30 18:19:50.000000000 -0700
2     +++ w3m-0.5.2/w3mbookmark.c.new 2008-12-22 23:22:27.000000000 -0800
3     @@ -99,7 +99,7 @@
4     fprintf(f, "<body>\n<h1>Bookmarks</h1>\n");
5     fprintf(f, "<h2>%s</h2>\n<ul>\n", section);
6     fprintf(f, "<li><a href=\"%s\">%s</a>\n", url, title);
7     - fprintf(f, end_section);
8     + fprintf(f, "%s", end_section);
9     fprintf(f, "</ul>\n</body>\n</html>\n");
10     fclose(f);
11     }
12 pterjan 147791 --- w3m-0.5.3/acinclude.m4 2011-01-04 09:22:18.000000000 +0000
13     +++ w3m-0.5.3/acinclude.m4 2011-09-25 17:21:34.000000000 +0000
14     @@ -866,7 +866,7 @@
15     AC_TRY_COMPILE(
16     changequote(<<,>>)dnl
17     <<extern char *sys_errlist[];>>,
18     -<<printf(sys_errlist[0]);>>,
19     +<<printf("%s", sys_errlist[0]);>>,
20     changequote([,])dnl
21     [have_sys_errlist="yes"; AC_DEFINE(HAVE_SYS_ERRLIST)],
22     [have_sys_errlist="no"])
23     --- w3m-0.5.3/configure 2011-09-25 17:28:22.000000000 +0000
24     +++ w3m-0.5.3/configure 2011-09-25 17:28:55.000000000 +0000
25     @@ -8986,7 +8986,7 @@
26     int
27     main ()
28     {
29     -printf(sys_errlist[0]);
30     +printf("%s", sys_errlist[0]);
31     ;
32     return 0;
33     }

  ViewVC Help
Powered by ViewVC 1.1.28