emulators/mupen64plus-core: Fix build with -fno-common

Add a partial patch from upstream to fix the build of
emulators/mupen64plus-core with -fno-common, which is the default with llvm
11.
While here, point WWW: in pkg-descr to the current home of mupen64-plus.

MFH:		2020Q3 (implicit, -fno-common fixes, ok by joenum)
This commit is contained in:
Niclas Zeising 2020-08-28 14:35:18 +00:00
parent c30282c676
commit 905ec553f4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546737
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff --git a/src/main/workqueue.h b/src/main/workqueue.h
index d5093a533..2af257a45 100644
--- source/mupen64plus-core/src/main/workqueue.h
+++ source/mupen64plus-core/src/main/workqueue.h
@@ -27,7 +27,6 @@
struct work_struct;
-struct work_struct *work;
typedef void (*work_func_t)(struct work_struct *work);
struct work_struct {
work_func_t func;

View File

@ -5,4 +5,4 @@ amd64 systems, and necessary plugins for audio, graphical rendering (RDP),
signal co-processor (RSP), and input. There are 3 OpenGL video plugins
included: glN64, RiceVideoLinux, and Glide64.
WWW: http://code.google.com/p/mupen64plus/
WWW: https://www.mupen64plus.org/