Fix the MSDOS build broken by latest revisions.
authorEli Zaretskii <eliz@gnu.org>
Fri, 15 Oct 2010 18:42:54 +0000 (20:42 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 15 Oct 2010 18:42:54 +0000 (20:42 +0200)
 src/unexcoff.c (make_hdr): Fix prototype according to changes in
 2010-10-03T13:59:56Z!dann@ics.uci.edu.
 msdos/sed1v2.inp: Use $(..) instead of ${..} in all edit commands.
 Needed because of changes in 2010-10-10T14:43:05Z!dann@ics.uci.edu.
 msdos/sed6.inp (mkinfodir): Edit to avoid Unix shell-isms.  Needed
 because of changes in 2010-10-09T18:31:12Z!rgm@gnu.org.

msdos/ChangeLog
msdos/sed1v2.inp
msdos/sed6.inp
src/ChangeLog
src/unexcoff.c

index e0b3a96..4f46643 100644 (file)
@@ -1,3 +1,11 @@
+2010-10-15  Eli Zaretskii  <eliz@gnu.org>
+
+       * sed1v2.inp: Use $(..) instead of ${..} in all edit commands.
+       Needed because of changes in 2010-10-10T14:43:05Z!dann@ics.uci.edu.
+
+       * sed6.inp (mkinfodir): Edit to avoid Unix shell-isms.  Needed
+       because of changes in 2010-10-09T18:31:12Z!rgm@gnu.org.
+
 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
 
        * sed1v2.inp (PROFILING_LDFLAGS):
index 3c1770d..19f0d9d 100644 (file)
@@ -131,12 +131,12 @@ s/\.h\.in/.h-in/
 /^M_FILE *=/s!@[^@\n]*@!m/intel386.h!
 /^S_FILE *=/s!@[^@\n]*@!s/msdos.h!
 /^@SET_MAKE@$/s/@SET_MAKE@//
-/^.\${libsrc}make-docfile.*>/s!make-docfile!make-docfile -o ../etc/DOC!
-/^.\${libsrc}make-doc/s!>.*$!!
+/^.\$(libsrc)\/make-docfile.*>/s!make-docfile!make-docfile -o ../etc/DOC!
+/^.\$(libsrc)\/make-doc/s!>.*$!!
 /^[\f   ]*$/d
 /^     if test -f/,/^  fi$/c\
        command.com /c if exist .gdbinit rm -f _gdbinit
-/^     if test "\${CANNOT_DUMP}" =/,/^ else /d
+/^     if test "\$(CANNOT_DUMP)" =/,/^ else /d
 /^     fi/d
 /^     LC_ALL=C \$(RUN_TEMACS)/i\
        stubedit temacs.exe minstack=1024k
@@ -152,7 +152,7 @@ s/ || true\; \\$//
 /^     if test -f/,/^  fi$/c\
        command.com /c if exist .gdbinit rm -f _gdbinit
 /^     #/d
-/^     cd.*make-docfile/s!$!; cd ${dot}${dot}/src!
+/^     cd.*make-docfile/s!$!; cd ../src!
 /^     @: /d
 /^     -\{0,1\} *ln -/s/ln -f/cp -pf/
 /^[    ]touch /s/touch/djecho $@ >/
index f8ad38e..2382971 100644 (file)
@@ -43,4 +43,6 @@ export texinputdir := $(srcdir)";"$(TEXINPUTS)
   s/^  for file in $(INFO_TARGETS)\; do rm -f.*$/      rm -f $(INFO_TARGETS)/
 }
 
+/^mkinfodir *=/s| @.*$|@command.com /c if not exist ..\\..\\info\\emacs mkdir ..\\..\\info|
+
 # arch-tag: defe1001-f35a-47f7-9635-3f5d33ee5e97
index 567bf28..b3ed712 100644 (file)
@@ -1,5 +1,8 @@
 2010-10-15  Eli Zaretskii  <eliz@gnu.org>
 
+       * unexcoff.c (make_hdr): Fix prototype according to changes in
+       2010-10-03T13:59:56Z!dann@ics.uci.edu.
+
        * image.c (tiff_load): Cast 3rd argument to avoid compiler warning.
 
 2010-10-15  Tassilo Horn  <tassilo@member.fsf.org>
index 0c6af41..fb221da 100644 (file)
@@ -141,8 +141,7 @@ report_error_1 (int fd, const char *msg, int a1, int a2)
   error (msg, a1, a2);
 }
 \f
-static int make_hdr (int, int, unsigned, unsigned, unsigned,
-                    const char *, const char *);
+static int make_hdr (int, int, const char *, const char *);
 static int copy_text_and_data (int, int);
 static int copy_sym (int, int, const char *, const char *);
 static void mark_x (const char *);