commit:     374d171b762a34a257b194de865c334572a70dd8
Author:     Matthew White <mehw.is.me <AT> inventati <DOT> org>
AuthorDate: Mon Jan  6 01:40:30 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan  6 02:41:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=374d171b

media-plugins/gst-plugins-webrtc: fix typo in patch file

Change 'srtp_option -> sctp_option' in ext/sctp/meson.build, and reuse
the 'srtp_option' variable in ext/srtp/meson.build.

Package-Manager: portage-3.0.66.1-r1
Signed-off-by: Matthew White <mehw.is.me <AT> inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/39998
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../gst-plugins-webrtc-1.24.10-disable-srtp-sctp-dtls-options.patch | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git 
a/media-plugins/gst-plugins-webrtc/files/gst-plugins-webrtc-1.24.10-disable-srtp-sctp-dtls-options.patch
 
b/media-plugins/gst-plugins-webrtc/files/gst-plugins-webrtc-1.24.10-disable-srtp-sctp-dtls-options.patch
index 46e58707140b..208b36f37b67 100644
--- 
a/media-plugins/gst-plugins-webrtc/files/gst-plugins-webrtc-1.24.10-disable-srtp-sctp-dtls-options.patch
+++ 
b/media-plugins/gst-plugins-webrtc/files/gst-plugins-webrtc-1.24.10-disable-srtp-sctp-dtls-options.patch
@@ -27,9 +27,8 @@ 
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/fd4828bafe613eec33e8
  ]
  
 -sctp_option = get_option('sctp').enable_if(get_option('webrtc').enabled(), 
error_message: 'webrtc option is enabled')
--if sctp_option.disabled()
 +sctp_option = get_option('sctp')
-+if srtp_option.disabled()
+ if sctp_option.disabled()
    subdir_done()
  endif
  
@@ -40,9 +39,8 @@ 
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/fd4828bafe613eec33e8
  
  srtp_cargs = []
 -srtp_option = get_option('srtp').enable_if(get_option('webrtc').enabled(), 
error_message: 'webrtc option is enabled')
--if srtp_option.disabled()
 +srtp_option = get_option('srtp')
-+if get_option('srtp').disabled()
+ if srtp_option.disabled()
    srtp_dep = dependency('', required : false)
    subdir_done()
  endif

Reply via email to