Control: tags -1 patch

Hi!
The attached patch fixes the FTBFS by appending the GCC flag
-Wno-error=unused-local-typedefs.

Regards,
Juhani Numminen
Description: Fix FTBFS with gcc-4.8
  Makes the warning unused-local-typedefs non-error.
Author: Juhani Numminen <juhaninummin...@gmail.com>
Bug-Debian: http://bugs.debian.org/701294
Last-Update: 2013-06-05

--- holotz-castle-1.3.14.orig/src/Makefile
+++ holotz-castle-1.3.14/src/Makefile
@@ -43,7 +43,7 @@ HCED_OBJ_MAIN=HCed.o
 # Definir -D_JLIB_DEBUG para debug con JLib. Ponerlo también en el Makefile de JLib.
 # Define -D_JLIB_DEBUG for JLib debug mode. Put it also in JLib's Makefile.
 MORE_CFLAGS= -O3
-CFLAGS=-fno-strict-aliasing -I. -I../JLib `$(SDL_CONFIG) --cflags` -I/usr/local/include/ -I/usr/local/include/SDL $(MORE_CFLAGS) -Wall -Werror -Wshadow $(CPU_OPTS) -ffast-math -c
+CFLAGS=-fno-strict-aliasing -I. -I../JLib `$(SDL_CONFIG) --cflags` -I/usr/local/include/ -I/usr/local/include/SDL $(MORE_CFLAGS) -Wall -Werror -Wshadow -Wno-error=unused-local-typedefs $(CPU_OPTS) -ffast-math -c
 LDFLAGS=-ffast-math
 LIBS=-L. -lSDL_image -lSDL_ttf -lSDL_mixer `$(SDL_CONFIG) --libs` -lz
 

Reply via email to