public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/videorbits/, media-gfx/videorbits/files/
@ 2018-03-29 21:05 Michał Górny
  0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2018-03-29 21:05 UTC (permalink / raw
  To: gentoo-commits

commit:     9961133103f7a7ed931a1d6669ecff5acba566cc
Author:     Harri Nieminen <moikkis <AT> gmail <DOT> com>
AuthorDate: Tue Mar 27 16:52:32 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar 29 21:05:17 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99611331

media-gfx/videorbits: Fix for glibc-2.27

Closes: https://bugs.gentoo.org/648770
Closes: https://github.com/gentoo/gentoo/pull/7648
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../files/videorbits-2.205-remove-bits-nan.patch   | 35 ++++++++++++++++++++++
 media-gfx/videorbits/videorbits-2.205.ebuild       |  3 +-
 2 files changed, 37 insertions(+), 1 deletion(-)

diff --git a/media-gfx/videorbits/files/videorbits-2.205-remove-bits-nan.patch b/media-gfx/videorbits/files/videorbits-2.205-remove-bits-nan.patch
new file mode 100644
index 00000000000..822b8dd8167
--- /dev/null
+++ b/media-gfx/videorbits/files/videorbits-2.205-remove-bits-nan.patch
@@ -0,0 +1,35 @@
+From 27db38e20d2f1c685c9a4aa01cfbde96b0555d80 Mon Sep 17 00:00:00 2001
+From: Harri Nieminen <moikkis@gmail.com>
+Date: Tue, 27 Mar 2018 19:45:19 +0300
+Subject: [PATCH] Don't include bits/nan.h
+
+---
+ src/cement.c     | 1 -
+ src/cementinit.c | 1 -
+ 2 files changed, 2 deletions(-)
+
+diff --git a/src/cement.c b/src/cement.c
+index 3dfb6f9..23c424c 100644
+--- a/src/cement.c
++++ b/src/cement.c
+@@ -1,7 +1,6 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <math.h>
+-#include <bits/nan.h>
+ #include <limits.h>
+ #include <string.h>
+ #include <errno.h>
+diff --git a/src/cementinit.c b/src/cementinit.c
+index 95850d9..afa160e 100644
+--- a/src/cementinit.c
++++ b/src/cementinit.c
+@@ -1,5 +1,4 @@
+ #include <math.h>
+-#include <bits/nan.h>
+ /* NB:  supposedly nan.h is included from math.h when -std=c99 is on the
+  *      gcc compile line but that doesn't work so its included it directly.
+  *      Not having this line makes nan become unreliable, sometime it is
+-- 
+2.16.3
+

diff --git a/media-gfx/videorbits/videorbits-2.205.ebuild b/media-gfx/videorbits/videorbits-2.205.ebuild
index 030eb3b53d0..52a423416d4 100644
--- a/media-gfx/videorbits/videorbits-2.205.ebuild
+++ b/media-gfx/videorbits/videorbits-2.205.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -26,6 +26,7 @@ PATCHES=(
 	"${FILESDIR}/${PN}-2.201-libpng15.patch"
 	"${FILESDIR}/${P}-qa-implicit-declarations.patch"
 	"${FILESDIR}/${P}-fix-buildsystem.patch"
+	"${FILESDIR}/${P}-remove-bits-nan.patch"
 )
 DOCS=( AUTHORS README README.MORE )
 


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-03-29 21:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-29 21:05 [gentoo-commits] repo/gentoo:master commit in: media-gfx/videorbits/, media-gfx/videorbits/files/ Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox