1 |
commit: 339057afef6d53cd247531371bfe9063103572ea |
2 |
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> |
3 |
AuthorDate: Thu Oct 27 17:18:48 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 30 09:39:10 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=339057af |
7 |
|
8 |
net-misc/rsync: remove unused patch |
9 |
|
10 |
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/27982 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
.../rsync/files/rsync-3.2.5-pedantic-errors.patch | 53 ---------------------- |
15 |
1 file changed, 53 deletions(-) |
16 |
|
17 |
diff --git a/net-misc/rsync/files/rsync-3.2.5-pedantic-errors.patch b/net-misc/rsync/files/rsync-3.2.5-pedantic-errors.patch |
18 |
deleted file mode 100644 |
19 |
index 33afbd954a12..000000000000 |
20 |
--- a/net-misc/rsync/files/rsync-3.2.5-pedantic-errors.patch |
21 |
+++ /dev/null |
22 |
@@ -1,53 +0,0 @@ |
23 |
-https://github.com/WayneD/rsync/commit/9a3449a3980421f84ac55498ba565bc112b20d6c |
24 |
- |
25 |
-In particular, avoids attr configure test failing. |
26 |
- |
27 |
-From 9a3449a3980421f84ac55498ba565bc112b20d6c Mon Sep 17 00:00:00 2001 |
28 |
-From: Wayne Davison <wayne@×××××××××.net> |
29 |
-Date: Thu, 18 Aug 2022 17:33:54 -0700 |
30 |
-Subject: [PATCH] Stop enabling -pedantic-errors. |
31 |
- |
32 |
---- a/configure.ac |
33 |
-+++ b/configure.ac |
34 |
-@@ -1071,21 +1071,6 @@ elif test x"$ac_cv_header_popt_h" != x"yes"; then |
35 |
- with_included_popt=yes |
36 |
- fi |
37 |
- |
38 |
--if test x"$GCC" = x"yes"; then |
39 |
-- if test x"$with_included_popt" != x"yes"; then |
40 |
-- # Turn pedantic warnings into errors to ensure an array-init overflow is an error. |
41 |
-- CFLAGS="$CFLAGS -pedantic-errors" |
42 |
-- else |
43 |
-- # Our internal popt code cannot be compiled with pedantic warnings as errors, so try to |
44 |
-- # turn off pedantic warnings (which will not lose the error for array-init overflow). |
45 |
-- # Older gcc versions don't understand -Wno-pedantic, so check if --help=warnings lists |
46 |
-- # -Wpedantic and use that as a flag. |
47 |
-- case `$CC --help=warnings 2>/dev/null | grep Wpedantic` in |
48 |
-- *-Wpedantic*) CFLAGS="$CFLAGS -pedantic-errors -Wno-pedantic" ;; |
49 |
-- esac |
50 |
-- fi |
51 |
--fi |
52 |
-- |
53 |
- AC_MSG_CHECKING([whether to use included libpopt]) |
54 |
- if test x"$with_included_popt" = x"yes"; then |
55 |
- AC_MSG_RESULT($srcdir/popt) |
56 |
- |
57 |
---- a/configure.sh |
58 |
-+++ b/configure.sh |
59 |
-@@ -9982,14 +9982,14 @@ fi |
60 |
- if test x"$GCC" = x"yes"; then |
61 |
- if test x"$with_included_popt" != x"yes"; then |
62 |
- # Turn pedantic warnings into errors to ensure an array-init overflow is an error. |
63 |
-- CFLAGS="$CFLAGS -pedantic-errors" |
64 |
-+ CFLAGS="$CFLAGS " |
65 |
- else |
66 |
- # Our internal popt code cannot be compiled with pedantic warnings as errors, so try to |
67 |
- # turn off pedantic warnings (which will not lose the error for array-init overflow). |
68 |
- # Older gcc versions don't understand -Wno-pedantic, so check if --help=warnings lists |
69 |
- # -Wpedantic and use that as a flag. |
70 |
- case `$CC --help=warnings 2>/dev/null | grep Wpedantic` in |
71 |
-- *-Wpedantic*) CFLAGS="$CFLAGS -pedantic-errors -Wno-pedantic" ;; |
72 |
-+ *-Wpedantic*) CFLAGS="$CFLAGS -Wno-pedantic" ;; |
73 |
- esac |
74 |
- fi |
75 |
- fi |