1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

emulators/ppsspp: unbreak on DragonFly after deb6e280f4

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
This commit is contained in:
Jan Beich 2023-05-25 08:07:16 +00:00
parent a8000dc59b
commit e316451d37

View File

@ -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