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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 37C681382C5 for ; Mon, 7 May 2018 12:19:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 62419E07A5; Mon, 7 May 2018 12:19:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2602BE07A5 for ; Mon, 7 May 2018 12:19:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 748F7335C7C for ; Mon, 7 May 2018 12:19:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8C69427 for ; Mon, 7 May 2018 12:19:17 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1525695548.e101ecc3740756d2b69c369791f6ecb4c264ae9d.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/smplayer/, media-video/smplayer/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/smplayer/files/smplayer-18.3.0-disable-werror.patch media-video/smplayer/smplayer-18.3.0.ebuild media-video/smplayer/smplayer-18.4.0.ebuild X-VCS-Directories: media-video/smplayer/ media-video/smplayer/files/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: e101ecc3740756d2b69c369791f6ecb4c264ae9d X-VCS-Branch: master Date: Mon, 7 May 2018 12:19:17 +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-Archives-Salt: dfe78d00-eb4c-48c0-aa7c-87442bb39f5c X-Archives-Hash: 573f863a2e8849985b0f87aaaec8f078 commit: e101ecc3740756d2b69c369791f6ecb4c264ae9d Author: Sergei Trofimovich gentoo org> AuthorDate: Mon May 7 12:18:57 2018 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Mon May 7 12:19:08 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e101ecc3 media-video/smplayer: drop -Werror to allow gcc-8, bug #654724 gcc-8 covers even more potential buffer overflow conditions. This causes new build failure due to blanket -Werror in smplayer. For more details see Gentoo's take on -Werror handling in devmanual: https://devmanual.gentoo.org/ebuild-writing/common-mistakes/index.html Reported-by: Mike Lothian Closes: https://bugs.gentoo.org/654724 Package-Manager: Portage-2.3.36, Repoman-2.3.9 media-video/smplayer/files/smplayer-18.3.0-disable-werror.patch | 9 +++++++++ media-video/smplayer/smplayer-18.3.0.ebuild | 1 + media-video/smplayer/smplayer-18.4.0.ebuild | 1 + 3 files changed, 11 insertions(+) diff --git a/media-video/smplayer/files/smplayer-18.3.0-disable-werror.patch b/media-video/smplayer/files/smplayer-18.3.0-disable-werror.patch new file mode 100644 index 00000000000..7905a44619f --- /dev/null +++ b/media-video/smplayer/files/smplayer-18.3.0-disable-werror.patch @@ -0,0 +1,9 @@ +gcc-8 is smarter about possible overflow detection. + +Reported-by: Mike Lothian +Bug: https://bugs.gentoo.org/654724 +--- a/webserver/Makefile ++++ b/webserver/Makefile +@@ -5 +5 @@ SOURCES = main.c mongoose.c +-CFLAGS = -O2 -W -Wall -Werror -Wno-unused-function $(CFLAGS_EXTRA) $(MODULE_CFLAGS) ++CFLAGS = -O2 -W -Wall -Wno-unused-function $(CFLAGS_EXTRA) $(MODULE_CFLAGS) diff --git a/media-video/smplayer/smplayer-18.3.0.ebuild b/media-video/smplayer/smplayer-18.3.0.ebuild index d8ae8f1fe3c..711f309f6be 100644 --- a/media-video/smplayer/smplayer-18.3.0.ebuild +++ b/media-video/smplayer/smplayer-18.3.0.ebuild @@ -48,6 +48,7 @@ PATCHES=( "${FILESDIR}/${PN}-14.9.0.6966-unbundle-qtsingleapplication.patch" # bug 487544 "${FILESDIR}/${PN}-17.1.0-advertisement_crap.patch" "${FILESDIR}/${PN}-18.2.0-jobserver.patch" + "${FILESDIR}/${PN}-18.3.0-disable-werror.patch" ) src_prepare() { diff --git a/media-video/smplayer/smplayer-18.4.0.ebuild b/media-video/smplayer/smplayer-18.4.0.ebuild index 27c383e46b9..8b62e36f20f 100644 --- a/media-video/smplayer/smplayer-18.4.0.ebuild +++ b/media-video/smplayer/smplayer-18.4.0.ebuild @@ -48,6 +48,7 @@ PATCHES=( "${FILESDIR}/${PN}-14.9.0.6966-unbundle-qtsingleapplication.patch" # bug 487544 "${FILESDIR}/${PN}-17.1.0-advertisement_crap.patch" "${FILESDIR}/${PN}-18.2.0-jobserver.patch" + "${FILESDIR}/${PN}-18.3.0-disable-werror.patch" ) src_prepare() {