commit:     a5b3ac3122541498c65575114ee2baa2fc43c849
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue May 10 23:38:49 2016 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue May 10 23:39:56 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5b3ac31

Revert "media-libs/gstreamer: fix bug #577312"

This reverts commit f59f39fb234fe5ce1c2a4c1c63be575fa494302c.

The gstreamer folks made a mistake in backporting this form libcheck.

See https://bugzilla.gnome.org/show_bug.cgi?id=763567#c12

 .../files/gstreamer-1.6.3-fix-strsignal.patch      | 29 ----------------------
 media-libs/gstreamer/gstreamer-1.6.3.ebuild        |  4 ---
 2 files changed, 33 deletions(-)

diff --git a/media-libs/gstreamer/files/gstreamer-1.6.3-fix-strsignal.patch 
b/media-libs/gstreamer/files/gstreamer-1.6.3-fix-strsignal.patch
deleted file mode 100644
index e237f9b..0000000
--- a/media-libs/gstreamer/files/gstreamer-1.6.3-fix-strsignal.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From c9da8b0e7f53005ab125e48165dae39fbfee2352 Mon Sep 17 00:00:00 2001
-From: "Anthony G. Basile" <[email protected]>
-Date: Sun, 13 Mar 2016 11:05:29 -0400
-Subject: libcompat.h: strsignal() should be not be decleared const
-
-POSIX standards requires strsignal() to return a pointer to a char,
-not a const pointer to a char. [1]  On uClibc, and possibly other
-libc's, that do not HAVE_DECL_STRSIGNAL, libcompat.h declares
-const char *strsignal (int sig) which causes a type error.
-
-[1] man 3 strsignal
-
-https://bugzilla.gnome.org/show_bug.cgi?id=763567
-
-diff --git a/libs/gst/check/libcheck/strsignal.c 
b/libs/gst/check/libcheck/strsignal.c
-index b79409b..57e71cd 100644
---- a/libs/gst/check/libcheck/strsignal.c
-+++ b/libs/gst/check/libcheck/strsignal.c
-@@ -1,6 +1,6 @@
- #include "libcompat.h"
- 
--const char *
-+char *
- strsignal (int sig)
- {
-   static char signame[40];
--- 
-cgit v0.10.2
-

diff --git a/media-libs/gstreamer/gstreamer-1.6.3.ebuild 
b/media-libs/gstreamer/gstreamer-1.6.3.ebuild
index 63ff72f..3b77847 100644
--- a/media-libs/gstreamer/gstreamer-1.6.3.ebuild
+++ b/media-libs/gstreamer/gstreamer-1.6.3.ebuild
@@ -30,10 +30,6 @@ DEPEND="${RDEPEND}
 "
 # gtk-doc-am to install API docs
 
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-fix-strsignal.patch #577312
-}
-
 src_configure() {
        if [[ ${CHOST} == *-interix* ]] ; then
                export ac_cv_lib_dl_dladdr=no

Reply via email to