diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-22 08:50:23 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-22 08:50:23 +0100 |
commit | 45219c7455b2c8bce47bdf428b44a6a38d6ce521 (patch) | |
tree | 383d5bd207b343850d906697a1a26890ce1a9e32 /media-sound/audacious | |
parent | 293b7d4c34fb5285799bb5149595e29dae34cac9 (diff) |
gentoo auto-resync : 22:07:2023 - 08:50:23
Diffstat (limited to 'media-sound/audacious')
-rw-r--r-- | media-sound/audacious/Manifest | 3 | ||||
-rw-r--r-- | media-sound/audacious/audacious-4.3.1.ebuild | 4 | ||||
-rw-r--r-- | media-sound/audacious/files/audacious-enum-backporting.patch | 35 |
3 files changed, 41 insertions, 1 deletions
diff --git a/media-sound/audacious/Manifest b/media-sound/audacious/Manifest index 1cb83333ff28..0ba2e2fa098a 100644 --- a/media-sound/audacious/Manifest +++ b/media-sound/audacious/Manifest @@ -1,4 +1,5 @@ +AUX audacious-enum-backporting.patch 1153 BLAKE2B b5934eaccb88bd37848b50a6834858dbc8a2c7419ff4dbbfbef8b89a932898b219addae0ad9f176c964b27a30ea96b5b73969df44f1d1bad43a4747031392d02 SHA512 b84c04bf47916b5da9049fe2e58576db6ec2753fa45564da4ffec7155c2dc073d57c33201a81f458f542408518d47adc39021033992d822a5220f7400fd18ba0 DIST audacious-4.3.1.tar.bz2 630820 BLAKE2B e8885d25cce4a480ac58c5ee1874a530f4b169f264eaafb13830be17ce7e25933a2fb491ed0b86220fdb2e916ea5d7b13bca8a5ac00695ffd06e1ad8b2a6ff67 SHA512 7662a1b136c6ced346ce160a3a6b71ea5941644860466e23248a44168179118202006e8892a5bbd1f6d77730846a4644b6cb4e008af38e1117588b9f4d1521f5 DIST gentoo_ice-xmms-0.2.tar.bz2 51839 BLAKE2B d3bf8dbfee675dd588bc0258f1015c76877b6b0a3835813d8e9621d149b924aaa33544d07f7ad44a01c058d41d7480b3908b0773c124af33b6e020c376b13d54 SHA512 e863a8f86073007c47ce8c20739aae4bff22e22a7ddc11556b12ae6ebb68654cec7310fdc9d05f2c47f81cf2591fe601b2eb12a2fd911c0a6118c9f3cc524f05 -EBUILD audacious-4.3.1.ebuild 1463 BLAKE2B e93837cf90dda9a6d6c9410271b6c53144bf6b7a3a298debec30774fa8f7db5de9da98b4c97b2cd7cdd9a3ac563ebd529bf441af2f9568e26f6c6523af195599 SHA512 4d1ad0d2b421a1d84db6f0eb949ff35b5a88f02173218dd8e3cfdfd8ae7f4cb9235752d8bb6a15efdddff62cb6ac7ce1cedc5d070ad2d607e42a5b9fd76d8ebc +EBUILD audacious-4.3.1.ebuild 1520 BLAKE2B a603d51ee02342b8dbefadaf10a46667ca66a70125250c39410ac5c04f3dfbe5a34a23e8c0f26e2d543a7b66769fb1e90a2bffa263ec9f49f2326b24bc289c36 SHA512 f3673882ae2ee0e1fbaa3e615cd8fe15f6363b077e842c53a1b852d2110fcfb03a719978f9a277996480459ef9ebef16b15ed8900efd2fda11f1b1b72410257a MISC metadata.xml 254 BLAKE2B 7f76152858fde96b9de5250e4cba30bfe0c5f2aa6ec7c84316072d84e4b664ecd6485642d3d184b1f2ddde8d9e03a94dd47dd00c5b8d82f80c5c0993d5627593 SHA512 7ed31d18221f55928f798dbf095166f535f7c0f5a1c3010b5113fd6b0d275af283f3d2e6839591335ec93bcd50aab5d0f104ad76eefda4d7a6b64d41af183f0b diff --git a/media-sound/audacious/audacious-4.3.1.ebuild b/media-sound/audacious/audacious-4.3.1.ebuild index ee999ce83200..591c2b60ab94 100644 --- a/media-sound/audacious/audacious-4.3.1.ebuild +++ b/media-sound/audacious/audacious-4.3.1.ebuild @@ -33,6 +33,10 @@ PDEPEND="~media-plugins/audacious-plugins-${PV}" S="${WORKDIR}/${MY_P}" +PATCHES=( + "${FILESDIR}"/${PN}-enum-backporting.patch +) + src_prepare() { default if ! use nls; then diff --git a/media-sound/audacious/files/audacious-enum-backporting.patch b/media-sound/audacious/files/audacious-enum-backporting.patch new file mode 100644 index 000000000000..66bb959f737e --- /dev/null +++ b/media-sound/audacious/files/audacious-enum-backporting.patch @@ -0,0 +1,35 @@ +From 3989bafcb7a8843cef4e25875cd6c0e72680ad80 Mon Sep 17 00:00:00 2001 +From: Guido Falsi <mad@madpilot.net> +Date: Wed, 28 Jun 2023 15:42:37 +0200 +Subject: [PATCH] Add missing enum value. + +New versions of the clang compiler have strict checks for enum values. + +The value "-1" is returned as a last resort from to_vfs_seek_type() as a VFSSeekType. + +Replace usage of `-1` with the new enum name. +--- + src/libaudcore/vfs.h | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/libaudcore/vfs.h b/src/libaudcore/vfs.h +index 33c5a65c97..f6a1dd3f23 100644 +--- a/src/libaudcore/vfs.h ++++ b/src/libaudcore/vfs.h +@@ -51,6 +51,7 @@ enum VFSReadOptions + + enum VFSSeekType + { ++ VFS_SEEK_INVALID = -1, + VFS_SEEK_SET = 0, + VFS_SEEK_CUR = 1, + VFS_SEEK_END = 2 +@@ -75,7 +76,7 @@ constexpr VFSSeekType to_vfs_seek_type(int whence) + ? VFS_SEEK_SET + : (whence == SEEK_CUR) + ? VFS_SEEK_CUR +- : (whence == SEEK_END) ? VFS_SEEK_END : (VFSSeekType)-1; ++ : (whence == SEEK_END) ? VFS_SEEK_END : VFS_SEEK_INVALID; + } + + #endif // WANT_VFS_STDIO_COMPAT |