From d1b58e06954ace30facf98e8b84f9819638d8d99 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Thu, 30 May 2013 18:05:23 +0000 Subject: - Trim Makefile header - Fix build with clang --- games/tecnoballz/Makefile | 6 +----- games/tecnoballz/files/patch-include-surface_sdl.h | 11 +++++++++++ 2 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 games/tecnoballz/files/patch-include-surface_sdl.h (limited to 'games/tecnoballz') diff --git a/games/tecnoballz/Makefile b/games/tecnoballz/Makefile index 51b56afeed82..62fd3438fc2b 100644 --- a/games/tecnoballz/Makefile +++ b/games/tecnoballz/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: TecnoballZ -# Date created: 19 Jan 2005 -# Whom: Jean-Yves Lefort -# +# Created by: Jean-Yves Lefort # $FreeBSD$ -# PORTNAME= tecnoballz PORTVERSION= 0.92 diff --git a/games/tecnoballz/files/patch-include-surface_sdl.h b/games/tecnoballz/files/patch-include-surface_sdl.h new file mode 100644 index 000000000000..f88b4644a4e9 --- /dev/null +++ b/games/tecnoballz/files/patch-include-surface_sdl.h @@ -0,0 +1,11 @@ +--- include/surface_sdl.h.orig 2013-05-30 22:00:54.478112221 +0400 ++++ include/surface_sdl.h 2013-05-30 22:02:18.114218658 +0400 +@@ -46,7 +46,7 @@ + ~surface_sdl (); + SDL_Surface* get_surface (); + char* get_pixel_data (); +- char* get_pixel_data (Uint32 coord_x, Uint32 coord_x); ++ char* get_pixel_data (Uint32 coord_x, Uint32 coord_y); + Uint32 get_row_size (); + Uint32 get_offset (Uint32 xcoord, Uint32 ycoord); + void clear (Uint32 color = 0); -- cgit v1.2.3