diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-21 21:00:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-21 21:00:58 +0100 |
commit | 8b2628ad8526c806375e7b157889e4274b70248b (patch) | |
tree | ccba8cd56af7e086131454d6062d5d31115791df /media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch | |
parent | b620fb1b0929ff9657a2588aaa42b85e3021c102 (diff) |
gentoo resync : 21.10.2017
Diffstat (limited to 'media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch')
-rw-r--r-- | media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch b/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch new file mode 100644 index 000000000000..343a808076e6 --- /dev/null +++ b/media-tv/mythtv/files/mythtv-0.28.1-glibc225.patch @@ -0,0 +1,29 @@ +From b012ff0f6b284969183863d42a6a14eb77ed0a1d Mon Sep 17 00:00:00 2001 +From: Stuart Auchterlonie <stuarta@mythtv.org> +Date: Tue, 6 Jun 2017 22:39:03 +0100 +Subject: [PATCH] Refs #13047 - major() and minor() are defined in + <sys/sysmacros.h> + +On BSD platforms they remain defined in <sys/types.h> + +(cherry picked from commit eca27c542b70deb58e50ad4581b2d6f6b2e1d3c2) +--- + mythtv/libs/libmythtv/videosource.cpp | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/mythtv/libs/libmythtv/videosource.cpp b/mythtv/libs/libmythtv/videosource.cpp +index 97618adc80..09dd95073d 100644 +--- a/mythtv/libs/libmythtv/videosource.cpp ++++ b/mythtv/libs/libmythtv/videosource.cpp +@@ -3,7 +3,11 @@ + // Standard UNIX C headers + #include <unistd.h> + #include <fcntl.h> ++#if defined(__FreeBSD__) || CONFIG_DARWIN || defined(__OpenBSD__) + #include <sys/types.h> ++#else ++#include <sys/sysmacros.h> ++#endif + #include <sys/stat.h> + + // C++ headers |