[vlc-commits] [Git][videolan/vlc][master] contrib: zvbi: fix __va_copy() usage
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Thu Feb 22 22:38:06 UTC 2024
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
beebc0de by Sean McGovern at 2024-02-22T21:40:46+00:00
contrib: zvbi: fix __va_copy() usage
- - - - -
2 changed files:
- contrib/src/zvbi/rules.mak
- + contrib/src/zvbi/zvbi-va_copy.patch
Changes:
=====================================
contrib/src/zvbi/rules.mak
=====================================
@@ -23,6 +23,7 @@ ifdef HAVE_WIN32
$(APPLY) $(SRC)/zvbi/zvbi-win32-undefined.patch
endif
$(APPLY) $(SRC)/zvbi/zvbi-fix-clang-support.patch
+ $(APPLY) $(SRC)/zvbi/zvbi-va_copy.patch
ifdef HAVE_ANDROID
$(APPLY) $(SRC)/zvbi/zvbi-android.patch
endif
=====================================
contrib/src/zvbi/zvbi-va_copy.patch
=====================================
@@ -0,0 +1,13 @@
+--- zvbi/src/misc.h.ORIG 2013-07-01 22:32:31.000000000 -0400
++++ zvbi/src/misc.h 2021-09-01 23:30:14.400736405 -0400
+@@ -424,7 +424,9 @@
+ #endif
+
+ /* __va_copy is a GNU extension. */
+-#ifndef __va_copy
++#ifdef va_copy && !defined(__va_copy)
++# define __va_copy va_copy
++#else
+ # define __va_copy(ap1, ap2) do { ap1 = ap2; } while (0)
+ #endif
+
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/beebc0dec083be5cc5583d5356a6ce89e19d27ee
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/beebc0dec083be5cc5583d5356a6ce89e19d27ee
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list