diff options
author | Harri Nieminen <moikkis@gmail.com> | 2018-03-27 19:52:32 +0300 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-03-29 23:05:17 +0200 |
commit | 9961133103f7a7ed931a1d6669ecff5acba566cc (patch) | |
tree | 9ea972234a8c6cb884d98895c93e89a40397df93 /media-gfx/videorbits | |
parent | sys-cluster/neutron: 12.0.1 bup (diff) | |
download | gentoo-9961133103f7a7ed931a1d6669ecff5acba566cc.tar.gz gentoo-9961133103f7a7ed931a1d6669ecff5acba566cc.tar.bz2 gentoo-9961133103f7a7ed931a1d6669ecff5acba566cc.zip |
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
Diffstat (limited to 'media-gfx/videorbits')
-rw-r--r-- | media-gfx/videorbits/files/videorbits-2.205-remove-bits-nan.patch | 35 | ||||
-rw-r--r-- | media-gfx/videorbits/videorbits-2.205.ebuild | 3 |
2 files changed, 37 insertions, 1 deletions
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 000000000000..822b8dd8167a --- /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 030eb3b53d0e..52a423416d45 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 ) |