diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2023-05-25 08:07:16 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2023-05-25 08:15:42 +0000 |
commit | 291cb55ec4bafd94fea343686c4b50f94fd61000 (patch) | |
tree | 6a0fccf32d3612984954befa856f84b68e5ef328 | |
parent | 13feda0c3109c0f22170d45c151df89c977d0ed6 (diff) | |
download | ports-291cb55ec4bafd94fea343686c4b50f94fd61000.tar.gz ports-291cb55ec4bafd94fea343686c4b50f94fd61000.zip |
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)
-rw-r--r-- | emulators/ppsspp/files/patch-ffmpeg5 | 9 |
1 files changed, 0 insertions, 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 |