Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 May 2018 17:45:53 +0000 (UTC)
From:      Niclas Zeising <zeising@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r468774 - in head/x11/alacritty: . files
Message-ID:  <201805011745.w41HjsHa051500@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zeising
Date: Tue May  1 17:45:53 2018
New Revision: 468774
URL: https://svnweb.freebsd.org/changeset/ports/468774

Log:
  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

Added:
  head/x11/alacritty/files/
  head/x11/alacritty/files/patch-src_window.rs   (contents, props changed)
Modified:
  head/x11/alacritty/Makefile

Modified: head/x11/alacritty/Makefile
==============================================================================
--- head/x11/alacritty/Makefile	Tue May  1 17:45:33 2018	(r468773)
+++ head/x11/alacritty/Makefile	Tue May  1 17:45:53 2018	(r468774)
@@ -2,7 +2,7 @@
 
 PORTNAME=	alacritty
 PORTVERSION=	g20180126
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	x11
 
 MAINTAINER=	zeising@FreeBSD.org

Added: head/x11/alacritty/files/patch-src_window.rs
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/alacritty/files/patch-src_window.rs	Tue May  1 17:45:53 2018	(r468774)
@@ -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();



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805011745.w41HjsHa051500>