Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 2020 11:21:53 +0000 (UTC)
From:      =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r529043 - in head/emulators/dosbox: . files
Message-ID:  <202003241121.02OBLrZB055166@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fernape
Date: Tue Mar 24 11:21:52 2020
New Revision: 529043
URL: https://svnweb.freebsd.org/changeset/ports/529043

Log:
  emulators/dosbox: enable mouse locking with X.org newer than 1.20
  
  References: https://www.vogons.org/viewtopic.php?f=31&t=62703
  
  PR:     244960
  Submitted by:   tobias.rehbein@web.de
  Reviewed by:    knyght@gmail.com (maintainer)

Added:
  head/emulators/dosbox/files/patch-src_gui_sdlmain.cpp   (contents, props changed)
Modified:
  head/emulators/dosbox/Makefile

Modified: head/emulators/dosbox/Makefile
==============================================================================
--- head/emulators/dosbox/Makefile	Tue Mar 24 10:55:12 2020	(r529042)
+++ head/emulators/dosbox/Makefile	Tue Mar 24 11:21:52 2020	(r529043)
@@ -3,6 +3,7 @@
 
 PORTNAME=	dosbox
 DISTVERSION=	0.74-3
+PORTREVISION=	1
 CATEGORIES=	emulators
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${DISTVERSION}
 

Added: head/emulators/dosbox/files/patch-src_gui_sdlmain.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/dosbox/files/patch-src_gui_sdlmain.cpp	Tue Mar 24 11:21:52 2020	(r529043)
@@ -0,0 +1,11 @@
+--- src/gui/sdlmain.cpp.orig	2020-03-21 19:17:13 UTC
++++ src/gui/sdlmain.cpp
+@@ -1433,7 +1433,7 @@ void GFX_LosingFocus(void) {
+ #define DB_POLLSKIP 1
+ #endif
+ 
+-#if defined(LINUX)
++#if defined(LINUX) || defined(BSD)
+ #define SDL_XORG_FIX 1
+ #else
+ #define SDL_XORG_FIX 0



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