[ xdvi-Bugs-3514485 ] 22.85: mksedscript gets fooled by >3 fields in c-auto.h

SourceForge.net <[email protected]> Tue, 10 Apr 2012 20:21:33 -0700
Newsgroups gmane.comp.tex.xdvi.devel
Message-ID <[email protected]>
Bugs item #3514485, was opened at 2012-04-03 03:09
Message generated for change (Settings changed) made by vojta
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=377580&aid=3514485&group_id=23164

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: installer
Group: incorrect behaviour
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: balducci (balducci)
>Assigned to: Paul Vojta (vojta)
Summary: 22.85: mksedscript gets fooled by >3 fields in c-auto.h

Initial Comment:
hello,
Build of 22.85 chokes with:
    /bin/sh ./mksedscript . -DHAVE_CONFIG_H -DPS_GS >sedscript
    ./mksedscript: eval: line 149: unexpected EOF while looking for matching `"'
    ./mksedscript: eval: line 151: syntax error: unexpected end of file
    make[6]: *** [sedscript] Error 2
    make[6]: Leaving directory `/home/balducci/tmp/install-us-d/xdvik.d/xdvik-22.85/texk/xdvik'

The reason is the incorrect awk handling of lines with >3 fields in c-auto.h ( e.g.   #define   PACKAGE_STRING   "xdvik   22.85"  )
The attached patch fixes things for me
I am on linux and use GNU Awk 4.0.1

Thanks a lot for maintaining xdvik

ciao
gabriele

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=377580&aid=3514485&group_id=23164

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev