Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/videorbits/, media-gfx/videorbits/files/
Date: Thu, 29 Mar 2018 21:05:30
Message-Id: 1522357517.9961133103f7a7ed931a1d6669ecff5acba566cc.mgorny@gentoo
1 commit: 9961133103f7a7ed931a1d6669ecff5acba566cc
2 Author: Harri Nieminen <moikkis <AT> gmail <DOT> com>
3 AuthorDate: Tue Mar 27 16:52:32 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 29 21:05:17 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99611331
7
8 media-gfx/videorbits: Fix for glibc-2.27
9
10 Closes: https://bugs.gentoo.org/648770
11 Closes: https://github.com/gentoo/gentoo/pull/7648
12 Package-Manager: Portage-2.3.24, Repoman-2.3.6
13
14 .../files/videorbits-2.205-remove-bits-nan.patch | 35 ++++++++++++++++++++++
15 media-gfx/videorbits/videorbits-2.205.ebuild | 3 +-
16 2 files changed, 37 insertions(+), 1 deletion(-)
17
18 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
19 new file mode 100644
20 index 00000000000..822b8dd8167
21 --- /dev/null
22 +++ b/media-gfx/videorbits/files/videorbits-2.205-remove-bits-nan.patch
23 @@ -0,0 +1,35 @@
24 +From 27db38e20d2f1c685c9a4aa01cfbde96b0555d80 Mon Sep 17 00:00:00 2001
25 +From: Harri Nieminen <moikkis@×××××.com>
26 +Date: Tue, 27 Mar 2018 19:45:19 +0300
27 +Subject: [PATCH] Don't include bits/nan.h
28 +
29 +---
30 + src/cement.c | 1 -
31 + src/cementinit.c | 1 -
32 + 2 files changed, 2 deletions(-)
33 +
34 +diff --git a/src/cement.c b/src/cement.c
35 +index 3dfb6f9..23c424c 100644
36 +--- a/src/cement.c
37 ++++ b/src/cement.c
38 +@@ -1,7 +1,6 @@
39 + #include <stdlib.h>
40 + #include <stdio.h>
41 + #include <math.h>
42 +-#include <bits/nan.h>
43 + #include <limits.h>
44 + #include <string.h>
45 + #include <errno.h>
46 +diff --git a/src/cementinit.c b/src/cementinit.c
47 +index 95850d9..afa160e 100644
48 +--- a/src/cementinit.c
49 ++++ b/src/cementinit.c
50 +@@ -1,5 +1,4 @@
51 + #include <math.h>
52 +-#include <bits/nan.h>
53 + /* NB: supposedly nan.h is included from math.h when -std=c99 is on the
54 + * gcc compile line but that doesn't work so its included it directly.
55 + * Not having this line makes nan become unreliable, sometime it is
56 +--
57 +2.16.3
58 +
59
60 diff --git a/media-gfx/videorbits/videorbits-2.205.ebuild b/media-gfx/videorbits/videorbits-2.205.ebuild
61 index 030eb3b53d0..52a423416d4 100644
62 --- a/media-gfx/videorbits/videorbits-2.205.ebuild
63 +++ b/media-gfx/videorbits/videorbits-2.205.ebuild
64 @@ -1,4 +1,4 @@
65 -# Copyright 1999-2016 Gentoo Foundation
66 +# Copyright 1999-2018 Gentoo Foundation
67 # Distributed under the terms of the GNU General Public License v2
68
69 EAPI=6
70 @@ -26,6 +26,7 @@ PATCHES=(
71 "${FILESDIR}/${PN}-2.201-libpng15.patch"
72 "${FILESDIR}/${P}-qa-implicit-declarations.patch"
73 "${FILESDIR}/${P}-fix-buildsystem.patch"
74 + "${FILESDIR}/${P}-remove-bits-nan.patch"
75 )
76 DOCS=( AUTHORS README README.MORE )