CVSROOT: /cvsroot/lilypond Module name: mftrace Branch: Changes by: Han-Wen Nienhuys <[EMAIL PROTECTED]> 05/10/15 22:02:24
Modified files: . : ChangeLog GNUmakefile.in README.texi gf2pbm.c Log message: * README.texi (Top): add Thomas Bushnell BSG. * gf2pbm.c (read_GF_char): fix type-punning pointer error. This fixes GCC4 big-endian -O2 build. Thanks to Thomas Bushnell BSG ! CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/mftrace/ChangeLog.diff?tr1=1.65&tr2=1.66&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/mftrace/GNUmakefile.in.diff?tr1=1.14&tr2=1.15&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/mftrace/README.texi.diff?tr1=1.28&tr2=1.29&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/mftrace/gf2pbm.c.diff?tr1=1.4&tr2=1.5&r1=text&r2=text Patches: Index: mftrace/ChangeLog diff -u mftrace/ChangeLog:1.65 mftrace/ChangeLog:1.66 --- mftrace/ChangeLog:1.65 Mon Aug 15 14:46:09 2005 +++ mftrace/ChangeLog Sat Oct 15 22:02:23 2005 @@ -1,4 +1,11 @@ -2005-08-15 Han-Wen Nienhuys <[EMAIL PROTECTED]> +2005-10-16 Han-Wen Nienhuys <[EMAIL PROTECTED]> + + * README.texi (Top): add Thomas Bushnell BSG. + + * gf2pbm.c (read_GF_char): fix type-punning pointer error. This + fixes GCC4 big-endian -O2 build. Thanks to Thomas Bushnell BSG ! + + 2005-08-15 Han-Wen Nienhuys <[EMAIL PROTECTED]> * configure.in (PYTHON): 1.1.16 Index: mftrace/GNUmakefile.in diff -u mftrace/GNUmakefile.in:1.14 mftrace/GNUmakefile.in:1.15 --- mftrace/GNUmakefile.in:1.14 Mon Aug 1 15:01:27 2005 +++ mftrace/GNUmakefile.in Sat Oct 15 22:02:23 2005 @@ -7,7 +7,7 @@ README.texi README.txt ChangeLog \ mftrace.spec.in mftrace.spec \ $(PY_MODULES) configure configure.in config.h.in - +CFLAGS=-Wall -O2 NAME=mftrace MANPAGES=mftrace.1 Index: mftrace/README.texi diff -u mftrace/README.texi:1.28 mftrace/README.texi:1.29 --- mftrace/README.texi:1.28 Mon Aug 15 13:21:59 2005 +++ mftrace/README.texi Sat Oct 15 22:02:23 2005 @@ -279,6 +279,8 @@ @item Stanislav Brabec @item + Thomas Bushnell BSG [EMAIL PROTECTED] Many others @end itemize Index: mftrace/gf2pbm.c diff -u mftrace/gf2pbm.c:1.4 mftrace/gf2pbm.c:1.5 --- mftrace/gf2pbm.c:1.4 Mon Aug 1 15:01:27 2005 +++ mftrace/gf2pbm.c Sat Oct 15 22:02:23 2005 @@ -302,7 +302,7 @@ ubyte cmnd; int min_m, max_m, min_n, max_n; BMUNIT *cp, *basep, *maxp; - char **basep_cpp = &basep; + BMUNIT **basep_cpp = &basep; int bytes_wide; bool paint_switch; #define White false @@ -391,7 +391,7 @@ case SKIP2: case SKIP3: *(basep_cpp) += - num(GF_file, WIDENINT cmnd - SKIP0) * bytes_wide; + num(GF_file, WIDENINT cmnd - SKIP0) * bytes_wide / sizeof (BMUNIT); case SKIP0: new_row = true; paint_switch = White; @@ -414,7 +414,7 @@ if (new_row) { *(basep_cpp) += - bytes_wide; + bytes_wide / sizeof (BMUNIT); if (basep >= maxp || cp >= basep) too_many_bits(ch); cp = basep; word_weight = BMBITS; _______________________________________________ Lilypond-cvs mailing list Lilypond-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-cvs