Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/xorg/bin/xauth Force "USE_SSP" to "no" when com...



details:   https://anonhg.NetBSD.org/src/rev/c0299d341e91
branches:  trunk
changeset: 795256:c0299d341e91
user:      tron <tron%NetBSD.org@localhost>
date:      Sat Apr 05 17:01:55 2014 +0000

description:
Force "USE_SSP" to "no" when compiling xauth(1) for now. This avoid the
program to fail with error messages like this one:

/usr/X11R7/bin/xauth:  file /home/tron/.Xauthority does not exist
/usr/X11R7/bin/xauth:  unable to link authority file /home/tron/.Xauthority, use /home/tron/.Xauthority

This seems to be some weird compiler bug. If you add a debug printf(3) call
before the line in "xsrc/external/mit/xauth/dist/process.c" that calls
link(2) the target and source filename have the correct value and
the call works. Without the printf(3) call it fails.

diffstat:

 external/mit/xorg/bin/xauth/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r cb4064afdb92 -r c0299d341e91 external/mit/xorg/bin/xauth/Makefile
--- a/external/mit/xorg/bin/xauth/Makefile      Sat Apr 05 12:32:27 2014 +0000
+++ b/external/mit/xorg/bin/xauth/Makefile      Sat Apr 05 17:01:55 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2014/03/17 09:24:11 mrg Exp $
+#      $NetBSD: Makefile,v 1.4 2014/04/05 17:01:55 tron Exp $
 
 .include <bsd.own.mk>
 
@@ -14,5 +14,9 @@
 
 .PATH: ${X11SRCDIR.${PROG}} ${X11SRCDIR.${PROG}}/man
 
+.include <bsd.own.mk>
+
+USE_SSP:=      no
+
 .include <bsd.x11.mk>
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index