x11/xedit: Update to 1.2.4
PR: 287226
This commit is contained in:
parent
4bf78ce331
commit
3863c57c61
@ -1,18 +1,16 @@
|
||||
PORTNAME= xedit
|
||||
PORTVERSION= 1.2.2
|
||||
PORTREVISION= 2
|
||||
DISTVERSION= 1.2.4
|
||||
CATEGORIES= x11
|
||||
|
||||
MAINTAINER= x11@FreeBSD.org
|
||||
COMMENT= Simple text editor for X
|
||||
WWW= https://gitlab.freedesktop.org/xorg/app/xedit
|
||||
|
||||
LICENSE= MIT BSD3CLAUSE
|
||||
LICENSE_COMB= multi
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= xorg xorg-cat:app
|
||||
USE_XORG= x11 xmu xt xaw7
|
||||
|
||||
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
|
||||
USES= tar:xz xorg xorg-cat:app
|
||||
USE_XORG= x11 xaw7 xmu xorgproto xt
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@ -1,2 +1,3 @@
|
||||
SHA256 (xorg/app/xedit-1.2.2.tar.bz2) = 69aa42885dfc06332ca22eb01cc7187e49206e6d65b74113a8ee4cc345fc2927
|
||||
SIZE (xorg/app/xedit-1.2.2.tar.bz2) = 525861
|
||||
TIMESTAMP = 1746932533
|
||||
SHA256 (xorg/app/xedit-1.2.4.tar.xz) = b00d488b29cd007fadf9a4e44193cbdd72b48c94080be5ebc02565f21f9a2a71
|
||||
SIZE (xorg/app/xedit-1.2.4.tar.xz) = 481740
|
||||
|
||||
@ -1,27 +0,0 @@
|
||||
--- 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);
|
||||
@ -1 +1,7 @@
|
||||
This package contains xedit, a simple text editor for the X Window System.
|
||||
|
||||
Xedit provides a window consisting of the following four areas:
|
||||
Commands Section, Message Window, Filename Display, Edit Window.
|
||||
|
||||
Message Window displays xedit messages. In addition, this window can be
|
||||
also used as a scratch pad.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user