From 3c269270e06be889aec39c9354cc96cffdb4d2e5 Mon Sep 17 00:00:00 2001 From: Stefano Ragni Date: Mon, 8 Jun 2020 18:13:58 +0200 Subject: [PATCH] mymcplus: add fix-glx-bad-context patch --- srcpkgs/mymcplus/patches/fix-glx-bad-context.patch | 11 +++++++++++ srcpkgs/mymcplus/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/mymcplus/patches/fix-glx-bad-context.patch diff --git a/srcpkgs/mymcplus/patches/fix-glx-bad-context.patch b/srcpkgs/mymcplus/patches/fix-glx-bad-context.patch new file mode 100644 index 00000000000..3a6b778c16b --- /dev/null +++ b/srcpkgs/mymcplus/patches/fix-glx-bad-context.patch @@ -0,0 +1,11 @@ +Relax this attribute, otherwise GL context creation fails +--- mymcplus/gui/icon_window.py.orig 2020-06-08 18:05:05.646326599 +0200 ++++ mymcplus/gui/icon_window.py 2020-06-08 18:05:14.093326318 +0200 +@@ -121,7 +121,6 @@ + glcanvas.WX_GL_RGBA, + glcanvas.WX_GL_DOUBLEBUFFER, + glcanvas.WX_GL_DEPTH_SIZE, 24, +- glcanvas.WX_GL_SAMPLES, 16 + ] + + self.sizer = wx.BoxSizer(wx.VERTICAL) diff --git a/srcpkgs/mymcplus/template b/srcpkgs/mymcplus/template index f30c62b09f4..2411e8483db 100644 --- a/srcpkgs/mymcplus/template +++ b/srcpkgs/mymcplus/template @@ -1,7 +1,7 @@ # Template file for 'mymcplus' pkgname=mymcplus version=3.0.2 -revision=2 +revision=3 archs=noarch build_style=python3-module pycompile_module="mymcplus"