Index: head/x11/xtset/Makefile =================================================================== --- head/x11/xtset/Makefile (revision 547149) +++ head/x11/xtset/Makefile (revision 547150) @@ -1,22 +1,22 @@ # Created by: grog # $FreeBSD$ PORTNAME= xtset PORTVERSION= 1.1 CATEGORIES= x11 -MASTER_SITES= ftp://ftp.lemis.com/pub/ +MASTER_SITES= http://www.lemis.com/pub/ MAINTAINER= grog@FreeBSD.org COMMENT= Utility to set title on an xterm -LICENSE= NONE +# LICENSE= NONE NO_WRKSUBDIR= yes PLIST_FILES= bin/xtset man/man1/xtset.1.gz MAKE_ARGS+= PREFIX=${STAGEDIR}${PREFIX} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include Index: head/x11/xtset/distinfo =================================================================== --- head/x11/xtset/distinfo (revision 547149) +++ head/x11/xtset/distinfo (revision 547150) @@ -1,2 +1,3 @@ +TIMESTAMP = 1598851253 SHA256 (xtset-1.1.tar.gz) = e507a3e31a693419fd0a760b392f6370299cdaba37c419b09f165771ae73ba5d SIZE (xtset-1.1.tar.gz) = 4310 Index: head/x11/xtset/files/patch-xtset.c =================================================================== --- head/x11/xtset/files/patch-xtset.c (nonexistent) +++ head/x11/xtset/files/patch-xtset.c (revision 547150) @@ -0,0 +1,44 @@ +--- xtset.c.orig 2002-03-29 22:15:00.000000000 +1100 ++++ xtset.c 2020-08-31 15:29:45.583899000 +1000 +@@ -49,6 +49,7 @@ + #include + #include + #include ++#include + + /* SVR3 header files frequently don't define MAXPATHLEN. They probably can't + * stomach a 1K path name, either, but this constant can err on the generous +@@ -135,21 +136,21 @@ + + /* then the effective username */ + +- if (pwent = getpwuid (geteuid ())) ++ if ((pwent = getpwuid (geteuid ())) != 0) + eff_userid = strdup (pwent->pw_name); + else + eff_userid = "*no euid*"; + + /* then the real groupname */ + +- if (grent = getgrgid (getgid ())) ++ if ((grent = getgrgid (getgid ())) != 0) + real_groupid = strdup (grent->gr_name); + else + real_groupid = "*no gid*"; /* yes, this can be valid */ + + /* then the effective groupname */ + +- if (grent = getgrgid (getegid ())) ++ if ((grent = getgrgid (getegid ())) != 0) + eff_groupid = strdup (grent->gr_name); + else + eff_groupid = "*no egid*"; /* yes, this can be valid */ +@@ -163,7 +164,7 @@ + { + char *point; + strcpy (short_host, our_host); +- if (point = strchr (short_host, '.')) /* got a point, */ ++ if ((point = strchr (short_host, '.')) != 0) /* got a point, */ + *point = '\0'; /* chop it off there */ + } + if ( !getcwd (our_dir, MAXPATHLEN)) /* or can't get wd */ Property changes on: head/x11/xtset/files/patch-xtset.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property