From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BC132158020 for ; Thu, 1 Dec 2022 21:42:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 045E0E085E; Thu, 1 Dec 2022 21:42:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DC699E085E for ; Thu, 1 Dec 2022 21:42:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1B7CC335D20 for ; Thu, 1 Dec 2022 21:42:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7FB3A477 for ; Thu, 1 Dec 2022 21:42:40 +0000 (UTC) From: "Andreas K. Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" Message-ID: <1669930949.7a1ecd6cc46b1f97eef4b3d79c1bb03d41c133d0.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/rsync/files/, net-misc/rsync/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/rsync/files/rsync-3.2.4-notpedantic.patch net-misc/rsync/rsync-3.2.4-r3.ebuild X-VCS-Directories: net-misc/rsync/files/ net-misc/rsync/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: 7a1ecd6cc46b1f97eef4b3d79c1bb03d41c133d0 X-VCS-Branch: master Date: Thu, 1 Dec 2022 21:42:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 87a5f2c8-58ae-4257-87a3-850144d9440a X-Archives-Hash: b151a7dd8299fb4d1cb0e14de62fe9a9 commit: 7a1ecd6cc46b1f97eef4b3d79c1bb03d41c133d0 Author: Andreas K. Hüttel gentoo org> AuthorDate: Thu Dec 1 21:41:18 2022 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Thu Dec 1 21:42:29 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a1ecd6c net-misc/rsync: Don't be so pedantic. Closes: https://bugs.gentoo.org/883215 Signed-off-by: Andreas K. Hüttel gentoo.org> net-misc/rsync/files/rsync-3.2.4-notpedantic.patch | 25 ++++++++++++++++++++++ net-misc/rsync/rsync-3.2.4-r3.ebuild | 1 + 2 files changed, 26 insertions(+) diff --git a/net-misc/rsync/files/rsync-3.2.4-notpedantic.patch b/net-misc/rsync/files/rsync-3.2.4-notpedantic.patch new file mode 100644 index 000000000000..9d081ab52c5b --- /dev/null +++ b/net-misc/rsync/files/rsync-3.2.4-notpedantic.patch @@ -0,0 +1,25 @@ +diff -ruN rsync-3.2.4.orig/configure.ac rsync-3.2.4/configure.ac +--- rsync-3.2.4.orig/configure.ac 2022-12-01 22:26:34.856659562 +0100 ++++ rsync-3.2.4/configure.ac 2022-12-01 22:31:43.849290989 +0100 +@@ -1067,21 +1067,6 @@ + with_included_popt=yes + fi + +-if test x"$GCC" = x"yes"; then +- if test x"$with_included_popt" != x"yes"; then +- # Turn pedantic warnings into errors to ensure an array-init overflow is an error. +- CFLAGS="$CFLAGS -pedantic-errors" +- else +- # Our internal popt code cannot be compiled with pedantic warnings as errors, so try to +- # turn off pedantic warnings (which will not lose the error for array-init overflow). +- # Older gcc versions don't understand -Wno-pedantic, so check if --help=warnings lists +- # -Wpedantic and use that as a flag. +- case `$CC --help=warnings 2>/dev/null | grep Wpedantic` in +- *-Wpedantic*) CFLAGS="$CFLAGS -pedantic-errors -Wno-pedantic" ;; +- esac +- fi +-fi +- + AC_MSG_CHECKING([whether to use included libpopt]) + if test x"$with_included_popt" = x"yes"; then + AC_MSG_RESULT($srcdir/popt) diff --git a/net-misc/rsync/rsync-3.2.4-r3.ebuild b/net-misc/rsync/rsync-3.2.4-r3.ebuild index 41447f110e95..05ce39b226b0 100644 --- a/net-misc/rsync/rsync-3.2.4-r3.ebuild +++ b/net-misc/rsync/rsync-3.2.4-r3.ebuild @@ -70,6 +70,7 @@ PATCHES=( "${FILESDIR}"/${P}-unsigned-char-checksum.patch # https://github.com/WayneD/rsync/issues/324 "${FILESDIR}"/${P}-strlcpy.patch + "${FILESDIR}"/${P}-notpedantic.patch ) pkg_setup() {