summaryrefslogtreecommitdiff
path: root/media-video/mpv/files/0.27.0/mpv-0.27.0-remove-duplicate-android-option.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-video/mpv/files/0.27.0/mpv-0.27.0-remove-duplicate-android-option.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'media-video/mpv/files/0.27.0/mpv-0.27.0-remove-duplicate-android-option.patch')
-rw-r--r--media-video/mpv/files/0.27.0/mpv-0.27.0-remove-duplicate-android-option.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/media-video/mpv/files/0.27.0/mpv-0.27.0-remove-duplicate-android-option.patch b/media-video/mpv/files/0.27.0/mpv-0.27.0-remove-duplicate-android-option.patch
new file mode 100644
index 000000000000..3f2a5d1f56a3
--- /dev/null
+++ b/media-video/mpv/files/0.27.0/mpv-0.27.0-remove-duplicate-android-option.patch
@@ -0,0 +1,27 @@
+commit 8810c1fc050347e1bef0d3eb89edd30c8e840648
+Author: Ilya Tumaykin <itumaykin@gmail.com>
+Date: Sun Sep 17 21:54:37 2017 +0300
+
+build: remove duplicate android option after 72a8120da
+
+The first one (line 140) comes from 69650851f8 and is the correct one.
+The second one (line 731) comes from 72a8120daa and slipped in with the
+revert commit.
+
+Remove the second one.
+
+diff --git a/wscript b/wscript
+index 9d885884d..9fe5b0bc8 100644
+--- a/wscript
++++ b/wscript
+@@ -727,10 +727,6 @@ video_output_features = [
+ 'desc': 'Direct3D support',
+ 'deps': [ 'win32-desktop' ],
+ 'func': check_cc(header_name='d3d9.h'),
+- }, {
+- 'name': '--android',
+- 'desc': 'Android support',
+- 'func': check_statement('android/api-level.h', '(void)__ANDROID__'), # arbitrary android-specific header
+ }, {
+ # We need MMAL/bcm_host/dispmanx APIs. Also, most RPI distros require
+ # every project to hardcode the paths to the include directories. Also,