SourceForge.net | 11 Apr 2012 05:21
Picon

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

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
(Continue reading)


Gmane