mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04: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:
parent
a8000dc59b
commit
e316451d37
1 changed files with 0 additions and 9 deletions
|
@ -94,15 +94,6 @@ https://github.com/hrydgard/ppsspp/issues/15308
|
||||||
#include "libavutil/samplefmt.h"
|
#include "libavutil/samplefmt.h"
|
||||||
--- Core/HW/SimpleAudioDec.h.orig 2023-01-03 10:14:31 UTC
|
--- Core/HW/SimpleAudioDec.h.orig 2023-01-03 10:14:31 UTC
|
||||||
+++ Core/HW/SimpleAudioDec.h
|
+++ 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)
|
@@ -78,7 +78,7 @@ class SimpleAudio { (private)
|
||||||
int wanted_resample_freq; // wanted resampling rate/frequency
|
int wanted_resample_freq; // wanted resampling rate/frequency
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue