Module Name: src Committed By: tron Date: Sat Apr 5 17:06:44 UTC 2014
Modified Files: src/doc: HACKS Log Message: Document xauth(1) hack. To generate a diff of this commit: cvs rdiff -u -r1.146 -r1.147 src/doc/HACKS Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/doc/HACKS diff -u src/doc/HACKS:1.146 src/doc/HACKS:1.147 --- src/doc/HACKS:1.146 Fri Apr 4 07:21:40 2014 +++ src/doc/HACKS Sat Apr 5 17:06:44 2014 @@ -1,4 +1,4 @@ -# $NetBSD: HACKS,v 1.146 2014/04/04 07:21:40 wiz Exp $ +# $NetBSD: HACKS,v 1.147 2014/04/05 17:06:44 tron Exp $ # # This file is intended to document workarounds for currently unsolved # (mostly) compiler bugs. @@ -365,6 +365,22 @@ descr included in the Emacs 24.3 distribution. kcah +hack Disable Stack Smash Protection for /usr/X11R7/bin/xauth +cdata 05 Apr 2014 +who tron +file src/external/mit/xorg/bin/xauth/Makefile : 1.4 +pr N/A +descr + If "xauth" is compile with "USE_SSP" set to "yes" it fails + mysteriously with an error message like this: + + /usr/X11R7/bin/xauth: file /foo/bar/.Xauthority does not exist + /usr/X11R7/bin/xauth: unable to link authority file /foo/bar/.Xauthority, use /foo/bar/.Xauthority + + The compiler seems to get confused about the two filename variables + used in the link(2) system call. +kcah + port vax hack gcc4/vax ICE