---
Changes since v1 -- only build on x86_64 as all other platforms fail
or are not/not officially supported for this release.
testing/mupen64plus/APKBUILD | 30 ++++++++++++++++++++++++++++++testing/mupen64plus/gcc.patch | 10 ++++++++++
2 files changed, 40 insertions(+)
create mode 100644 testing/mupen64plus/APKBUILD
create mode 100644 testing/mupen64plus/gcc.patch
diff --git a/testing/mupen64plus/APKBUILD b/testing/mupen64plus/APKBUILD
new file mode 100644
index 0000000000..277b018ca6
--- /dev/null+++ b/testing/mupen64plus/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Alex McGrath <amk@amk.ie>+# Maintainer: Alex McGrath <amk@amk.ie>+pkgname=mupen64plus+pkgver=2.5+pkgrel=0+pkgdesc="Mupen64Plus is a cross-platform plugin-based N64 emulator."+url="https://mupen64plus.org/"+# build fails or is not officially supported for this release for all but x86_64+arch="x86_64"+license="GPL-2.0-only"+makedepends="sdl-dev boost-dev freetype-dev glu-dev libpng-dev libsamplerate-dev zlib-dev"+source="https://github.com/mupen64plus/mupen64plus-core/releases/download/$pkgver/mupen64plus-bundle-src-$pkgver.tar.gz+ gcc.patch+ "+options="!check" # no test suite+subpackages="$pkgname-doc"+builddir="$srcdir/mupen64plus-bundle-src-$pkgver"++build() {+ PIE=1 ./m64p_build.sh+}++package() {+ ./m64p_install.sh DESTDIR="$pkgdir" PREFIX='/usr'+}++sha512sums="+08e9dbf1d851ede561419b1edbae51b46e775e01e33c870ed8b8c2809965a858b21c342804a88f3fd837c83e0c1b5007e45ca9fb9cdf82499b04240b9c799ba8 mupen64plus-bundle-src-2.5.tar.gz+9853bbb02fff179767c1499772ccb7dce4fcfd636b7bd188e9104d055943fd6e350b9edc0d8e1927fb0cc9bacedc9a6cf3f4972a5866da57ae3ca32d232b9582 gcc.patch+"
diff --git a/testing/mupen64plus/gcc.patch b/testing/mupen64plus/gcc.patch
new file mode 100644
index 0000000000..57c242b4a4
--- /dev/null+++ b/testing/mupen64plus/gcc.patch
@@ -0,0 +1,10 @@
+--- a/source/mupen64plus-core/src/main/workqueue.h++++ b/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;
\ No newline at end of file
--
2.34.1
Sorry to bother you @mailinglist-bot,
but we've detected that this merge request hasn't seen any recent activity. If you need help or want to discuss your approach with developers you can ping `@team/mentors`. You can also ask on IRC on `#alpine-devel` on irc.oftc.net. If no further activity occurs in this MR, Alpine developers may close it in the future.
Thanks for your contribution.
--
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/29234#note_212764