Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 grafx2 (2.5+git20181014-1) unstable; urgency=medium
 .
   * New upstream version.
   * debian/control: switch to SDL2.
   * Bump standards version to 4.2.1.
   * debian/watch: updated.
   * debian/README.source: added.
Author: Gürkan Myczko <gurkan@phys.ethz.ch>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2018-10-13

--- /dev/null
+++ grafx2-2.5+git20181014/obj/unix-sdl/.cflags.cache
@@ -0,0 +1 @@
+-W -Wall -Wdeclaration-after-statement -std=c99 -g   -I/usr/include/lua5.3 -D__ENABLE_LUA__  -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700  -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL -g -O2 -fdebug-prefix-map=/var/www/debian/grafx2/grafx2-2.5+git20181014=. -fstack-protector-strong -Wformat -Werror=format-security
--- /dev/null
+++ grafx2-2.5+git20181014/obj/unix-sdl2/.cflags.cache
@@ -0,0 +1 @@
+-W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT  -I/usr/include/lua5.3 -D__ENABLE_LUA__  -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700  -DUSE_FC -DENABLE_FILENAMES_ICONV -DNORECOIL -DUSE_SDL2 -g -O2 -fdebug-prefix-map=/var/www/debian/grafx2/grafx2-2.5+git20181014=. -fstack-protector-strong -Wformat -Werror=format-security
--- grafx2-2.5+git20181014.orig/src/Makefile
+++ grafx2-2.5+git20181014/src/Makefile
@@ -71,7 +71,7 @@ endif
   RECOILVER = 4.3.0
 
 # Video / input API used
-  API ?= sdl
+  API ?= sdl2
 
 # At the moment support for TTF requires SDL or SDL2
   ifneq (sdl,$(findstring sdl,$(API)))
