Index: head/x11/xedit/Makefile =================================================================== --- head/x11/xedit/Makefile (revision 512003) +++ head/x11/xedit/Makefile (revision 512004) @@ -1,13 +1,19 @@ # $FreeBSD$ PORTNAME= xedit PORTVERSION= 1.2.2 +PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= x11@FreeBSD.org COMMENT= Simple text editor for X -XORG_CAT= app -USE_XORG= xt xaw7 +LICENSE= MIT BSD3CLAUSE +LICENSE_COMB= multi +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= xorg-cat:app xorg + +USE_XORG= x11 xmu xt xaw7 .include Index: head/x11/xedit/files/patch-util.c =================================================================== --- head/x11/xedit/files/patch-util.c (nonexistent) +++ head/x11/xedit/files/patch-util.c (revision 512004) @@ -0,0 +1,27 @@ +--- util.c.orig 2015-02-21 21:42:33 UTC ++++ util.c +@@ -506,13 +506,14 @@ ResolveName(char *filename) + + if (result == NULL && errno == ENOENT) { + int length; +- char *dir, *file; ++ char *dir, *file, *fname; + + length = strlen(filename); + tmp = dir = XtMalloc(length + 1); + strcpy(dir, filename); ++ fname = strdup(filename); + +- file = basename(filename); ++ file = basename(fname); + dir = dirname(tmp); + + /* Creating a new file? */ +@@ -526,6 +527,7 @@ ResolveName(char *filename) + } + + XtFree(tmp); ++ free(fname); + } + + return (result); Property changes on: head/x11/xedit/files/patch-util.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