This repository has been archived by the owner on Jun 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a011a72
commit fc67806
Showing
6 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh -e | ||
|
||
patch -p1 < strncpy.patch | ||
|
||
autoreconf -i | ||
|
||
./configure \ | ||
--prefix=/usr | ||
|
||
make | ||
make DESTDIR="$1" install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
c0d70a7e9601e24015f97b5573ffb134e95e7f373da700c93fe5055f6a05da90 1.2.0.tar.gz | ||
2c5bfbdc119795dcd8531f29a3d9b396b6db8962b336833252088ef1b3c5d5e2 strncpy.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
autoconf make | ||
automake make | ||
libX11 | ||
libXmu | ||
libXt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
https://github.com/kfish/xsel/archive/1.2.0.tar.gz | ||
patches/strncpy.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1.2.0 1 |