1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

devel/sdl20: backport crashfix for mips64el

Obtained from:	upstream (via OpenBSD Ports)
MFH:		2017Q3 (no hardware to confirm)
This commit is contained in:
Jan Beich 2017-07-06 12:07:23 +00:00
parent d06e6539ae
commit ccd309f897
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=445139
2 changed files with 15 additions and 1 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= sdl2
PORTVERSION= 2.0.5
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.libsdl.org/release/
DISTNAME= SDL2-${PORTVERSION}

View File

@ -0,0 +1,14 @@
https://bugzilla.libsdl.org/show_bug.cgi?id=3692
https://hg.libsdl.org/SDL/rev/97c66d81b2c9
--- src/video/x11/SDL_x11window.c.orig 2016-10-20 03:56:26 UTC
+++ src/video/x11/SDL_x11window.c
@@ -376,7 +376,7 @@ X11_CreateWindow(_THIS, SDL_Window * window)
Atom _NET_WM_WINDOW_TYPE;
Atom wintype;
const char *wintype_name = NULL;
- int compositor = 1;
+ long compositor = 1;
Atom _NET_WM_PID;
Atom XdndAware, xdnd_version = 5;
long fevent = 0;