CVSROOT:        /cvsroot/lilypond
Module name:    mftrace
Branch:         
Changes by:     Han-Wen Nienhuys <[EMAIL PROTECTED]>    05/08/01 15:01:27

Modified files:
        .              : ChangeLog GNUmakefile.in gf2pbm.c 
                         mftrace.spec.in 

Log message:
        * gf2pbm.c: conform to strict aliasing rules (Patch by Stanislav
        Brabec)
        
        * GNUmakefile.in: removes explicit rule for CC (Patch by Stanislav
        Brabec)

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/mftrace/ChangeLog.diff?tr1=1.58&tr2=1.59&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/mftrace/GNUmakefile.in.diff?tr1=1.13&tr2=1.14&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/mftrace/gf2pbm.c.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/mftrace/mftrace.spec.in.diff?tr1=1.3&tr2=1.4&r1=text&r2=text

Patches:
Index: mftrace/ChangeLog
diff -u mftrace/ChangeLog:1.58 mftrace/ChangeLog:1.59
--- mftrace/ChangeLog:1.58      Wed Jul 20 11:41:51 2005
+++ mftrace/ChangeLog   Mon Aug  1 15:01:27 2005
@@ -1,3 +1,11 @@
+2005-08-01  Han-Wen Nienhuys  <[EMAIL PROTECTED]>
+
+       * gf2pbm.c: conform to strict aliasing rules (Patch by Stanislav
+       Brabec)
+
+       * GNUmakefile.in: removes explicit rule for CC (Patch by Stanislav
+       Brabec)
+
 2005-07-20  Han-Wen Nienhuys  <[EMAIL PROTECTED]>
 
        * README.texi (Top): cs.uu.nl -> xs4all.nl everywhere.
Index: mftrace/GNUmakefile.in
diff -u mftrace/GNUmakefile.in:1.13 mftrace/GNUmakefile.in:1.14
--- mftrace/GNUmakefile.in:1.13 Wed Apr 20 10:54:31 2005
+++ mftrace/GNUmakefile.in      Mon Aug  1 15:01:27 2005
@@ -25,9 +25,6 @@
 
 compile: mftrace gf2pbm
 
-gf2pbm: gf2pbm.c
-       gcc -O2 -Wall -o $@ $<
-
 README.txt: README.texi
        sed 's/@MFTVERSION@/@VERSION@/g' < $< > $<.in
        makeinfo --no-split --no-headers --output $@  $<.in
Index: mftrace/gf2pbm.c
diff -u mftrace/gf2pbm.c:1.3 mftrace/gf2pbm.c:1.4
--- mftrace/gf2pbm.c:1.3        Mon Apr  4 00:15:26 2005
+++ mftrace/gf2pbm.c    Mon Aug  1 15:01:27 2005
@@ -302,6 +302,7 @@
        ubyte   cmnd;
        int     min_m, max_m, min_n, max_n;
        BMUNIT  *cp, *basep, *maxp;
+       char    **basep_cpp = &basep;
        int     bytes_wide;
        bool    paint_switch;
 #define        White   false
@@ -389,7 +390,7 @@
                case SKIP1:
                case SKIP2:
                case SKIP3:
-                 *((char **) &basep) +=
+                 *(basep_cpp) +=
                    num(GF_file, WIDENINT cmnd - SKIP0) * bytes_wide;
                case SKIP0:
                    new_row = true;
@@ -412,7 +413,7 @@
            } /* end switch */
            if (new_row) {
 
-             *((char **) &basep) +=
+             *(basep_cpp) +=
                bytes_wide;
              if (basep >= maxp || cp >= basep) too_many_bits(ch);
                 cp = basep;
Index: mftrace/mftrace.spec.in
diff -u mftrace/mftrace.spec.in:1.3 mftrace/mftrace.spec.in:1.4
--- mftrace/mftrace.spec.in:1.3 Tue Mar  9 13:35:15 2004
+++ mftrace/mftrace.spec.in     Mon Aug  1 15:01:27 2005
@@ -25,7 +25,7 @@
 
 %build
 ./configure --prefix=/usr/
-make 
+make
 make README.txt
 
 


_______________________________________________
Lilypond-cvs mailing list
Lilypond-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-cvs

Reply via email to