diff options
author | Martin Väth <martin@mvath.de> | 2020-05-23 12:19:57 +0200 |
---|---|---|
committer | Martin Väth <martin@mvath.de> | 2020-05-23 12:19:57 +0200 |
commit | 7c6c8d6d0cd811665ac38c2918216cef78a1040c (patch) | |
tree | 5912ed158f12abf5b7f15aaa1b077971ad53eea1 /media-video | |
parent | app-portage/eix games-rpg/m5figur-mv: Version bump (diff) | |
download | mv-7c6c8d6d0cd811665ac38c2918216cef78a1040c.tar.gz mv-7c6c8d6d0cd811665ac38c2918216cef78a1040c.tar.bz2 mv-7c6c8d6d0cd811665ac38c2918216cef78a1040c.zip |
app-shells/schily-tools: Version bump. media-video/avinfo: Patch -fno-common
Signed-off-by: Martin Väth <martin@mvath.de>
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/avinfo/avinfo-1.0_alpha15_p1-r1.ebuild (renamed from media-video/avinfo/avinfo-1.0_alpha15_p1.ebuild) | 3 | ||||
-rw-r--r-- | media-video/avinfo/files/no-common.patch | 25 |
2 files changed, 27 insertions, 1 deletions
diff --git a/media-video/avinfo/avinfo-1.0_alpha15_p1.ebuild b/media-video/avinfo/avinfo-1.0_alpha15_p1-r1.ebuild index c182587c..54a83441 100644 --- a/media-video/avinfo/avinfo-1.0_alpha15_p1.ebuild +++ b/media-video/avinfo/avinfo-1.0_alpha15_p1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors and Martin V\"ath +# Copyright 1999-2020 Gentoo Authors and Martin V\"ath # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -22,6 +22,7 @@ S="${WORKDIR}"/${PN}-1.0.a15 src_prepare() { eapply "${WORKDIR}"/${MY_P}-patch1/${MY_P}-patch1.diff eapply "${FILESDIR}"/no-bison.patch + eapply "${FILESDIR}"/no-common.patch sed -i -e 's/$(CC) $(OBJ)/$(CC) $(LDFLAGS) $(OBJ)/' src/Makefile || die default } diff --git a/media-video/avinfo/files/no-common.patch b/media-video/avinfo/files/no-common.patch new file mode 100644 index 00000000..32ac9a99 --- /dev/null +++ b/media-video/avinfo/files/no-common.patch @@ -0,0 +1,25 @@ +--- 1/src/avinfo.h ++++ 1/src/avinfo.h +@@ -35,11 +35,11 @@ + V_aspectX, + V_aspectY, + V_exist +-}video_enum; ++}; + + #define VIDEO_INFO_SIZE (V_exist+1) + +-enum{ ++enum audio_enum{ + A_l, + A_bits, + A_cc, +@@ -48,7 +48,7 @@ + A_ch, + A_freq, + A_exist +-}audio_enum; ++}; + + + #define AUDIO_INFO_SIZE (A_exist+1) |