Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-ftp/proftpd/files/
Date: Tue, 17 Oct 2017 17:52:16
Message-Id: 1508262727.85aa4bd643ce3503aa3d2501337e4acf0ed3ca34.slyfox@gentoo
1 commit: 85aa4bd643ce3503aa3d2501337e4acf0ed3ca34
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Thu Sep 28 18:34:52 2017 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 17 17:52:07 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85aa4bd6
7
8 net-ftp/proftpd: remove unused patch
9
10 Closes: https://github.com/gentoo/gentoo/pull/5817
11
12 .../files/proftpd-1.3.6_rc4-open-tests.patch | 24 ----------------------
13 1 file changed, 24 deletions(-)
14
15 diff --git a/net-ftp/proftpd/files/proftpd-1.3.6_rc4-open-tests.patch b/net-ftp/proftpd/files/proftpd-1.3.6_rc4-open-tests.patch
16 deleted file mode 100644
17 index f65a2cc3fbb..00000000000
18 --- a/net-ftp/proftpd/files/proftpd-1.3.6_rc4-open-tests.patch
19 +++ /dev/null
20 @@ -1,24 +0,0 @@
21 -gcc-6.3 + glibc-2.25 now can detect 2-argument open that is supposed to created new files.
22 -diff --git a/tests/api/fsio.c b/tests/api/fsio.c
23 -index 2041f43..18d173b 100644
24 ---- a/tests/api/fsio.c
25 -+++ b/tests/api/fsio.c
26 -@@ -1058,3 +1058,3 @@ START_TEST (fsio_sys_access_file_test) {
27 - /* Make the file to check; we want it to have perms 664.*/
28 -- fd = open(fsio_test_path, O_CREAT|O_EXCL|O_WRONLY);
29 -+ fd = open(fsio_test_path, O_CREAT|O_EXCL|O_WRONLY, S_IRUSR | S_IWUSR);
30 - fail_if(fd < 0, "Unable to create file '%s': %s", fsio_test_path,
31 -diff --git a/tests/api/scoreboard.c b/tests/api/scoreboard.c
32 -index f0ffdbc..f26d833 100644
33 ---- a/tests/api/scoreboard.c
34 -+++ b/tests/api/scoreboard.c
35 -@@ -267,3 +267,3 @@ START_TEST (scoreboard_lock_test) {
36 -
37 -- fd = open(test_file2, O_CREAT|O_EXCL|O_RDWR);
38 -+ fd = open(test_file2, O_CREAT|O_EXCL|O_RDWR, S_IRUSR | S_IWUSR);
39 - fail_unless(fd >= 0, "Failed to open '%s': %s", test_file2, strerror(errno));
40 -@@ -911,3 +911,3 @@ START_TEST (scoreboard_entry_lock_test) {
41 -
42 -- fd = open(test_file2, O_CREAT|O_EXCL|O_RDWR);
43 -+ fd = open(test_file2, O_CREAT|O_EXCL|O_RDWR, S_IRUSR | S_IWUSR);
44 - fail_unless(fd >= 0, "Failed to open '%s': %s", test_file2, strerror(errno));