git: 291cb55ec4ba - 2023Q2 - emulators/ppsspp: unbreak on DragonFly after deb6e280f48b
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 May 2023 08:21:46 UTC
The branch 2023Q2 has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=291cb55ec4bafd94fea343686c4b50f94fd61000 commit 291cb55ec4bafd94fea343686c4b50f94fd61000 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-05-25 08:07:16 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-05-25 08:15:42 +0000 emulators/ppsspp: unbreak on DragonFly after deb6e280f48b In file included from Core/HLE/sceAudiocodec.cpp:25: Core/HW/SimpleAudioDec.h:26:1: error: 'const' can only be specified for objects and functions const struct AVCodec; ^~~~~ Reported by: DPorts (cherry picked from commit e316451d37e1454bd32e03d3a0ffb0b094ceb63f) --- emulators/ppsspp/files/patch-ffmpeg5 | 9 --------- 1 file changed, 9 deletions(-) diff --git a/emulators/ppsspp/files/patch-ffmpeg5 b/emulators/ppsspp/files/patch-ffmpeg5 index 051628becfe7..5af6a6c489b6 100644 --- a/emulators/ppsspp/files/patch-ffmpeg5 +++ b/emulators/ppsspp/files/patch-ffmpeg5 @@ -86,15 +86,6 @@ https://github.com/hrydgard/ppsspp/issues/15308 #include "libavutil/samplefmt.h" --- Core/HW/SimpleAudioDec.h.orig 2023-01-03 10:14:31 UTC +++ Core/HW/SimpleAudioDec.h -@@ -23,7 +23,7 @@ struct AVFrame; - #include "Core/HLE/sceAudio.h" - - struct AVFrame; --struct AVCodec; -+const struct AVCodec; - struct AVCodecContext; - struct SwrContext; - @@ -78,7 +78,7 @@ class SimpleAudio { (private) int wanted_resample_freq; // wanted resampling rate/frequency