From e316451d37e1454bd32e03d3a0ffb0b094ceb63f Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Thu, 25 May 2023 08:07:16 +0000 Subject: [PATCH] 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 --- 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 2c74a66afe6e..ac9b10457aff 100644 --- a/emulators/ppsspp/files/patch-ffmpeg5 +++ b/emulators/ppsspp/files/patch-ffmpeg5 @@ -94,15 +94,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