public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/smplayer/, media-video/smplayer/files/
Date: Mon,  7 May 2018 12:19:17 +0000 (UTC)	[thread overview]
Message-ID: <1525695548.e101ecc3740756d2b69c369791f6ecb4c264ae9d.slyfox@gentoo> (raw)

commit:     e101ecc3740756d2b69c369791f6ecb4c264ae9d
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon May  7 12:18:57 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> 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() {


             reply	other threads:[~2018-05-07 12:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-07 12:19 Sergei Trofimovich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-05-07 14:06 [gentoo-commits] repo/gentoo:master commit in: media-video/smplayer/, media-video/smplayer/files/ Lars Wendler
2019-10-28 10:26 Lars Wendler
2017-03-04  7:22 Michael Palimaka
2016-03-31 13:10 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1525695548.e101ecc3740756d2b69c369791f6ecb4c264ae9d.slyfox@gentoo \
    --to=slyfox@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox