diff options
author | 2018-11-08 17:25:33 +0100 | |
---|---|---|
committer | 2019-02-03 23:57:00 +0100 | |
commit | e67dfee2ac77d29107a204c4485367c8f7d6e919 (patch) | |
tree | 1df805d743c73dd09ef57f3561b8c23073c7337a /media-tv/v4l-dvb-saa716x/files | |
parent | sys-fs/xwmfs: disable X11 tests (diff) | |
download | gentoo-e67dfee2ac77d29107a204c4485367c8f7d6e919.tar.gz gentoo-e67dfee2ac77d29107a204c4485367c8f7d6e919.tar.bz2 gentoo-e67dfee2ac77d29107a204c4485367c8f7d6e919.zip |
media-tv/v4l-dvb-saa716x: fix AUDIO_GET_PTS undeclared
fix compile error "... AUDIO_GET_PTS undeclared" with kernel >=4.17
Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
Closes: https://bugs.gentoo.org/670156
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/10363
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-tv/v4l-dvb-saa716x/files')
-rw-r--r-- | media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.17-define-AUDIO_GET_PTS.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.17-define-AUDIO_GET_PTS.patch b/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.17-define-AUDIO_GET_PTS.patch new file mode 100644 index 000000000000..8e418c82868e --- /dev/null +++ b/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-4.17-define-AUDIO_GET_PTS.patch @@ -0,0 +1,12 @@ +--- a/linux/drivers/media/common/saa716x/saa716x_ff.h 2018-11-08 15:44:10.479886225 +0100 ++++ b/linux/drivers/media/common/saa716x/saa716x_ff.h 2018-11-08 15:45:19.981237523 +0100 +@@ -108,6 +108,9 @@ + #define VIDEO_CAPTURE_OFF 0 + #define VIDEO_CAPTURE_ONE_SHOT 1 + ++#ifndef AUDIO_GET_PTS ++#define AUDIO_GET_PTS _IOR('o', 19, __u64) ++#endif + + /* place to store all the necessary device information */ + struct sti7109_dev { |