Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Apr 2024 21:32:54 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8ac0bdbcec51 - main - emulators/rpcs3: drop obsolete patch after 5192b368f5eb
Message-ID:  <202404062132.436LWscc064788@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8ac0bdbcec513d54af61d2e61db30d822fb0fd6b

commit 8ac0bdbcec513d54af61d2e61db30d822fb0fd6b
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-04-06 19:12:10 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-04-06 21:31:27 +0000

    emulators/rpcs3: drop obsolete patch after 5192b368f5eb
    
    https://github.com/RPCS3/rpcs3/commit/0c94606fcfc9 silenced
    -Wold-style-cast in audio_resampler.h
---
 emulators/rpcs3/files/patch-soundtouch | 25 -------------------------
 1 file changed, 25 deletions(-)

diff --git a/emulators/rpcs3/files/patch-soundtouch b/emulators/rpcs3/files/patch-soundtouch
deleted file mode 100644
index 868d9717bd68..000000000000
--- a/emulators/rpcs3/files/patch-soundtouch
+++ /dev/null
@@ -1,25 +0,0 @@
-In file included from rpcs3/Emu/Audio/audio_device_listener.cpp:5:
-In file included from rpcs3/Emu/Cell/Modules/cellAudio.h:9:
-In file included from rpcs3/Emu/Audio/audio_resampler.h:10:
-In file included from 3rdparty/SoundTouch/soundtouch/include/SoundTouch.h:68:
-3rdparty/SoundTouch/soundtouch/include/FIFOSamplePipe.h:62:9: error: use of old-style cast [-Werror,-Wold-style-cast]
-        ST_THROW_RT_ERROR("Error: Illegal number of channels");
-        ^                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-3rdparty/SoundTouch/soundtouch/include/STTypes.h:128:45: note: expanded from macro 'ST_THROW_RT_ERROR'
-    #define ST_THROW_RT_ERROR(x)    {assert((const char *)x);}
-                                            ^             ~
-/usr/include/assert.h:56:21: note: expanded from macro 'assert'
-#define assert(e)       ((e) ? (void)0 : __assert(__func__, __FILE__, \
-                          ^
-
---- 3rdparty/SoundTouch/soundtouch/include/STTypes.h.orig	2024-04-04 20:36:27 UTC
-+++ 3rdparty/SoundTouch/soundtouch/include/STTypes.h
-@@ -125,7 +125,7 @@ namespace soundtouch
- #ifdef ST_NO_EXCEPTION_HANDLING
-     // Exceptions disabled. Throw asserts instead if enabled.
-     #include <assert.h>
--    #define ST_THROW_RT_ERROR(x)    {assert((const char *)x);}
-+    #define ST_THROW_RT_ERROR(x)    {assert(static_cast<const char *>(x));}
- #else
-     // use c++ standard exceptions
-     #include <stdexcept>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404062132.436LWscc064788>