Fix LyX build on current (gcc3.4.2). Also, as LyX has no maintainer, I am happy to be that man. Obtained from: NetBSD How-To-Repeat: apply diff
State Changed From-To: open->closed Committed, thanks! Remark: I have renamed your patches.