CVS commit: src/external/mit/xorg/bin/xauth

2017-03-04 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Mar  4 23:23:21 UTC 2017

Modified Files:
src/external/mit/xorg/bin/xauth: Makefile

Log Message:
define HAVE_STRLCPY.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/bin/xauth/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/bin/xauth/Makefile
diff -u src/external/mit/xorg/bin/xauth/Makefile:1.5 src/external/mit/xorg/bin/xauth/Makefile:1.6
--- src/external/mit/xorg/bin/xauth/Makefile:1.5	Sun Jul 13 16:35:49 2014
+++ src/external/mit/xorg/bin/xauth/Makefile	Sat Mar  4 23:23:21 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2014/07/13 16:35:49 joerg Exp $
+#	$NetBSD: Makefile,v 1.6 2017/03/04 23:23:21 mrg Exp $
 
 .include 
 
@@ -6,6 +6,7 @@ PROG=	xauth
 SRCS=	xauth.c gethost.c process.c parsedpy.c
 
 CPPFLAGS+=		-DRETSIGTYPE=void -DPACKAGE_VERSION=\"1.0.8\"
+CPPFLAGS+= 		-DHAVE_STRLCPY
 CPPFLAGS.gethost.c=	${X11FLAGS.CONNECTION}
 CPPFLAGS.parsedpy.c=	${X11FLAGS.CONNECTION}
 



CVS commit: src/external/mit/xorg/bin/xauth

2014-04-05 Thread Matthias Scheler
Module Name:src
Committed By:   tron
Date:   Sat Apr  5 17:01:55 UTC 2014

Modified Files:
src/external/mit/xorg/bin/xauth: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/bin/xauth/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/bin/xauth/Makefile
diff -u src/external/mit/xorg/bin/xauth/Makefile:1.3 src/external/mit/xorg/bin/xauth/Makefile:1.4
--- src/external/mit/xorg/bin/xauth/Makefile:1.3	Mon Mar 17 09:24:11 2014
+++ src/external/mit/xorg/bin/xauth/Makefile	Sat Apr  5 17:01:55 2014
@@ -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 @@ DPADD+=	${LIBXAU} ${LIBXMUU} ${LIBXT} ${
 
 .PATH:	${X11SRCDIR.${PROG}} ${X11SRCDIR.${PROG}}/man
 
+.include bsd.own.mk
+
+USE_SSP:=	no
+
 .include bsd.x11.mk
 .include bsd.prog.mk