aboutsummaryrefslogtreecommitdiff
path: root/emulators/mupen64plus-core
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2020-08-28 14:35:18 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2020-08-28 14:35:18 +0000
commit905ec553f461e2d568d69942f76e1dbd7dcf397e (patch)
treeca458f761f38db2c7ada3ea07859caf8e4d27f64 /emulators/mupen64plus-core
parentc30282c676c781e0652f051f2054838cff61ef1e (diff)
downloadports-905ec553f461e2d568d69942f76e1dbd7dcf397e.tar.gz
ports-905ec553f461e2d568d69942f76e1dbd7dcf397e.zip
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)
Notes
Notes: svn path=/head/; revision=546737
Diffstat (limited to 'emulators/mupen64plus-core')
-rw-r--r--emulators/mupen64plus-core/files/patch-39975200.c12
-rw-r--r--emulators/mupen64plus-core/pkg-descr2
2 files changed, 13 insertions, 1 deletions
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/