xsel: rebuild for metadata

This commit is contained in:
Piotr Wójcik 2018-11-21 12:17:09 +01:00 committed by maxice8
parent 4f0633c28e
commit ed86b547db
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
2 changed files with 18 additions and 5 deletions

View File

@ -0,0 +1,13 @@
diff --git xsel.c xsel.c
index 79cc68b..556585e 100644
--- xsel.c
+++ xsel.c
@@ -1983,7 +1983,7 @@ main(int argc, char *argv[])
dont_output = True;
} else if (OPT("--logfile") || OPT("-l")) {
i++; if (i >= argc) goto usage_err;
- strncpy (logfile, argv[i], MAXFNAME);
+ strncpy (logfile, argv[i], MAXFNAME-1);
} else {
goto usage_err;
}

View File

@ -1,12 +1,12 @@
# Template file for 'xsel'
pkgname=xsel
version=1.2.0
revision=3
distfiles="http://www.vergenet.net/~conrad/software/xsel/download/xsel-${version}.tar.gz"
checksum="b927ce08dc82f4c30140223959b90cf65e1076f000ce95e520419ec32f5b141c"
revision=4
build_style="gnu-configure"
makedepends="libXt-devel"
short_desc="Command-line getting and setting the contents of the X selection"
maintainer="Steven R <dev@styez.com>"
license="custom"
homepage="http://www.vergenet.net/~conrad/software/xsel/"
license="Custom"
short_desc="Command-line program for getting and setting the contents of the X selection"
distfiles="http://www.vergenet.net/~conrad/software/xsel/download/xsel-${version}.tar.gz"
checksum=b927ce08dc82f4c30140223959b90cf65e1076f000ce95e520419ec32f5b141c