xsel: rebuild for metadata
This commit is contained in:
parent
4f0633c28e
commit
ed86b547db
2 changed files with 18 additions and 5 deletions
13
srcpkgs/xsel/patches/strncpy.patch
Normal file
13
srcpkgs/xsel/patches/strncpy.patch
Normal 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;
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue