Empty lines in xdm config files after current update
Many xdm related config files contain empty lines at the beginning after todays current xdm update. For example
Code:
--- /etc/X11/xdm/Xstartup 2012-05-22 06:25:58.000000000 +0200 Any one knows what is up here? |
I don't know what's up, but patched it with an awk script in the build phase. A real understanding of what's happening would be better, since the upstream source and build script didn't change and this seems to only happen on -current. But this will do for now. Thanks!
|
After some sleuthing I figured out this undesired behavior under gcc 4.8 is due to gcc's
pre-processor now pre-including stdc-predef.h for the translation unit to make it fully C11-compliant. This quick patch I put together, while not elegant, solves the problem. I've alerted upstream but given blank lines should not break anything, I wouldn't count on much effort being invested in this. --mancha |
Removing leading blank lines post-build has the same effect as applying my patch. However, if you go that route, you
probably want to re-order things a bit in xdm.post-install so you don't get extraneous blanks in the backups (e.g. /usr/doc/xdm-1.1.11/Xsession.orig). --mancha |
All times are GMT -5. The time now is 12:31 AM. |