From 905ec553f461e2d568d69942f76e1dbd7dcf397e Mon Sep 17 00:00:00 2001 From: Niclas Zeising Date: Fri, 28 Aug 2020 14:35:18 +0000 Subject: [PATCH] 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) --- emulators/mupen64plus-core/files/patch-39975200.c | 12 ++++++++++++ emulators/mupen64plus-core/pkg-descr | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 emulators/mupen64plus-core/files/patch-39975200.c diff --git a/emulators/mupen64plus-core/files/patch-39975200.c b/emulators/mupen64plus-core/files/patch-39975200.c new file mode 100644 index 000000000000..488ecc153769 --- /dev/null +++ b/emulators/mupen64plus-core/files/patch-39975200.c @@ -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; diff --git a/emulators/mupen64plus-core/pkg-descr b/emulators/mupen64plus-core/pkg-descr index 253c60c2957c..edaf5bc3aa42 100644 --- a/emulators/mupen64plus-core/pkg-descr +++ b/emulators/mupen64plus-core/pkg-descr @@ -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/