aboutsummaryrefslogtreecommitdiffstats
path: root/x11/alacritty
diff options
context:
space:
mode:
authorzeising <zeising@FreeBSD.org>2018-05-02 01:45:53 +0800
committerzeising <zeising@FreeBSD.org>2018-05-02 01:45:53 +0800
commit0c9ccee1ee4773dfa1c5c68b70efef69148e2258 (patch)
tree8f2e283fd6c433823501d6aa62a8e4b881dfe4ca /x11/alacritty
parent00ad34a9763de5b9270859579011cdc1b67de7f7 (diff)
downloadfreebsd-ports-gnome-0c9ccee1ee4773dfa1c5c68b70efef69148e2258.tar.gz
freebsd-ports-gnome-0c9ccee1ee4773dfa1c5c68b70efef69148e2258.tar.zst
freebsd-ports-gnome-0c9ccee1ee4773dfa1c5c68b70efef69148e2258.zip
Fix GL context creation
Add patch from upstream to fix errors in creating GL context. See Upstream issue for details: https://github.com/jwilm/alacritty/issues/921 PR: 227846 Submitted by: Sascha Holzleiter MFH: 2018Q2
Diffstat (limited to 'x11/alacritty')
-rw-r--r--x11/alacritty/Makefile2
-rw-r--r--x11/alacritty/files/patch-src_window.rs10
2 files changed, 11 insertions, 1 deletions
diff --git a/x11/alacritty/Makefile b/x11/alacritty/Makefile
index ffe7e4bd0b15..9333f2754ca1 100644
--- a/x11/alacritty/Makefile
+++ b/x11/alacritty/Makefile
@@ -2,7 +2,7 @@
PORTNAME= alacritty
PORTVERSION= g20180126
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11
MAINTAINER= zeising@FreeBSD.org
diff --git a/x11/alacritty/files/patch-src_window.rs b/x11/alacritty/files/patch-src_window.rs
new file mode 100644
index 000000000000..8b3453dd674c
--- /dev/null
+++ b/x11/alacritty/files/patch-src_window.rs
@@ -0,0 +1,10 @@
+--- src/window.rs.orig 2018-04-23 07:37:25 UTC
++++ src/window.rs
+@@ -200,6 +200,7 @@ impl Window {
+ .with_transparency(true)
+ .with_decorations(window_config.decorations());
+ let context = ContextBuilder::new()
++ .with_srgb(true)
+ .with_vsync(true);
+ let window = ::glutin::GlWindow::new(window, context, &event_loop)?;
+ window.show();