summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-10-28 22:50:22 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-10-28 22:50:30 +0200
commit0cbedddea510010caa0597b963d8add093ef7c71 (patch)
tree8533d996ef5ef1d175346371cf18a321397efca7 /media-libs/mlt/files/mlt-6.4.1-glibc226-2.patch
parentsys-apps/systemd: stable 233-r6 for ia64, bug #635718 (diff)
downloadgentoo-0cbedddea510010caa0597b963d8add093ef7c71.tar.gz
gentoo-0cbedddea510010caa0597b963d8add093ef7c71.tar.bz2
gentoo-0cbedddea510010caa0597b963d8add093ef7c71.zip
media-libs/mlt: Add glibc-2.26 compatibility patches.
Revision bump since headers have to be modified. Closes: https://bugs.gentoo.org/635088 Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'media-libs/mlt/files/mlt-6.4.1-glibc226-2.patch')
-rw-r--r--media-libs/mlt/files/mlt-6.4.1-glibc226-2.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/media-libs/mlt/files/mlt-6.4.1-glibc226-2.patch b/media-libs/mlt/files/mlt-6.4.1-glibc226-2.patch
new file mode 100644
index 000000000000..d992ee32e06c
--- /dev/null
+++ b/media-libs/mlt/files/mlt-6.4.1-glibc226-2.patch
@@ -0,0 +1,22 @@
+From fbf6a5187776f2f392cf258935ff49e4c0e87024 Mon Sep 17 00:00:00 2001
+From: Dan Dennedy <dan@dennedy.org>
+Date: Wed, 30 Aug 2017 09:08:16 -0700
+Subject: [PATCH] Fix glib test macros to include locale.h.
+
+---
+ src/framework/mlt_property.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/framework/mlt_property.h b/src/framework/mlt_property.h
+index 043f530b..3ecebd67 100644
+--- a/src/framework/mlt_property.h
++++ b/src/framework/mlt_property.h
+@@ -31,7 +31,7 @@
+ #endif
+
+ #if defined(__GLIBC__) || defined(__APPLE__) || (__FreeBSD_version >= 900506)
+-# if GLIBC_MINOR >= 26 && !defined(APPLE)
++# if __GLIBC_MINOR__ >= 26 && !defined(__APPLE__)
+ # include <locale.h>
+ # else
+ # include <xlocale.h>