diff options
Diffstat (limited to 'app-text/xdvik/files/xdvik-22.85-mksedscript.patch')
-rw-r--r-- | app-text/xdvik/files/xdvik-22.85-mksedscript.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app-text/xdvik/files/xdvik-22.85-mksedscript.patch b/app-text/xdvik/files/xdvik-22.85-mksedscript.patch new file mode 100644 index 000000000000..356b2f1246e4 --- /dev/null +++ b/app-text/xdvik/files/xdvik-22.85-mksedscript.patch @@ -0,0 +1,15 @@ +Index: texk/xdvik/mksedscript +=================================================================== +--- texk/xdvik/mksedscript (revision 25824) ++++ texk/xdvik/mksedscript (revision 25826) +@@ -43,7 +43,9 @@ + + # Get arguments from c-auto.h + +-eval "`awk '/^#define/ { print "mk_"$2"="$3 }' c-auto.h`" ++eval "`awk '/^#define/ { printf "mk_%s=%s", $2, $3 ++ for (i = 4; i <= NF; i++) printf " %s", $i ++ print "" }' c-auto.h`" + + # eval "`cat c-auto.h \ + # | grep '^[ ]*#[ ]*define[ ]' \ |