Re: [[email protected]: texinfo 4.7.91 pretest available]
"Juan Manuel Guerrero" <[email protected]> Tue, 14 Dec 2004 20:58:38 +0200
| Newsgroups | gmane.comp.tex.texinfo.pretest |
|---|---|
| Organization | Darmstadt University of Technology |
| Message-ID | <41BF53FE.2348.9A1210@localhost> |
Datum: Fri, 10 Dec 2004 14:58:58 +0200 Von: "Eli Zaretskii" <[email protected]> An: [email protected] Betreff: [[email protected]: [texinfo-pretest] texinfo 4.7.91 pretest available] Antwort an: [email protected] > FYI. > > If there are some outstanding problems with the DJGPP support in > Texinfo, now is the time to submit patches. So please try to build > this and report any problems. > > TIA There are at least two djgpp specific issues: 1) makeinfo/node.c: The variable dos_file_names is defined as static but it is initialized by a function call to patchconf() (through the macro HAVE_LONG_FILENAMES) making the compilation break. 2) djgpp/config.bat: Due to the use of a new autoconf package some modifications ar needed. See patch. This will make the package compile out-of-the-box if and only if long file name support is available. Regards, Juan M. Guerrero diff -apruNU5 texinfo-4.7.91.orig/djgpp/config.sed texinfo-4.7.91/djgpp/config.sed --- texinfo-4.7.91.orig/djgpp/config.sed 2002-09-26 22:01:10.000000000 +0000 +++ texinfo-4.7.91/djgpp/config.sed 2004-12-11 22:57:40.000000000 +0000 @@ -20,11 +20,11 @@ /@list=.\\\$(INFO_DEPS)\[^ \]/s,DEPS),& texinf- texin- info-stn.i info.inf,\ s,\\(file-\\[0-9\\]\\[0-9\\]\\)\\(\[^ \]\\),\\1 \\$\\$file[0-9] \\$\\$file[0-9][0-9]\\2,\ } # Makefile.in.in is renamed to Makefile.in-in. -/^ac_config_files=/,/_ACEOF/ { +/ac_config_files=/,/_ACEOF/ { s|po/Makefile\.in|&:po/Makefile.in-in| } /CONFIG_FILES=/ s|po/Makefile\.in|&:po/Makefile.in-in|2 # We always use _deps instead of .deps, because the latter is an @@ -49,14 +49,14 @@ s,\.deps,_deps,g # write absolute paths into Makefiles making # them useless for DJGPP installations for which # the package has not been configured for. /MISSING=/,/^$/ { /^fi$/ a\ -am_missing_run=`echo "$am_missing_run" | sed 's%/dev.*/texinfo-\\{0,1\\}4\\.[0-9][a-z]\\{0,1\\}%${top_srcdir}%'` +am_missing_run=`echo "$am_missing_run" | sed 's%/dev.*/texinfo-\\{0,1\\}4\\.[0-9][a-z]\\{0,1\\}%${top_srcdir}%;s%.:.*/texinfo-\\{0,1\\}4\\.[0-9][a-z]\\{0,1\\}%${top_srcdir}%'` } /^install_sh=/a\ -install_sh=`echo "$install_sh" | sed 's%/dev.*/texinfo-\\{0,1\\}4\\.[0-9][a-z]\\{0,1\\}%${top_srcdir}%'` +install_sh=`echo "$install_sh" | sed 's%/dev.*/texinfo-\\{0,1\\}4\\.[0-9][a-z]\\{0,1\\}%${top_srcdir}%;s%.:.*/texinfo-\\{0,1\\}4\\.[0-9][a-z]\\{0,1\\}%${top_srcdir}%'` # The following makes sure we are not going to remove a directory # which is the cwd on its drive (DOS doesn't allow to remove such # a directory). The trick is to chdir to the root directory on # temp directory's drive before removing $tmp. diff -apruNU5 texinfo-4.7.91.orig/makeinfo/node.c texinfo-4.7.91/makeinfo/node.c --- texinfo-4.7.91.orig/makeinfo/node.c 2004-11-30 13:26:50.000000000 +0000 +++ texinfo-4.7.91/makeinfo/node.c 2004-12-11 23:00:24.000000000 +0000 @@ -1664,11 +1664,11 @@ last_node_p (TAG_ENTRY *tags) static char * enumerate_filename (char *pathname, char *basename, int number) { /* Do we need to generate names of subfiles which don't exceed 8+3 limits? */ - static const int dos_file_names = !HAVE_LONG_FILENAMES (pathname ? pathname : "."); + const int dos_file_names = !HAVE_LONG_FILENAMES (pathname ? pathname : "."); unsigned name_len = strlen (basename); char *filename = xmalloc (10 + strlen (pathname) + name_len); char *base_filename = xmalloc (10 + name_len); sprintf (base_filename, "%s-%d", basename, number); _______________________________________________ Texinfo home page: http://www.gnu.org/software/texinfo/ [email protected] http://ff0.org/mailman/listinfo/texinfo-pretest