git: e316451d37e1 - main - emulators/ppsspp: unbreak on DragonFly after deb6e280f48b

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Thu, 25 May 2023 08:15:16 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e316451d37e1454bd32e03d3a0ffb0b094ceb63f

commit e316451d37e1454bd32e03d3a0ffb0b094ceb63f
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:14:26 +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
---
 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