From bdc80bdcafcc56627e91b8fd89578fec8921eb3a Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Tue, 22 Sep 2015 04:11:09 +0200 Subject: updated fheroes2 package to r3277 --- fheroes2/patches/0001-crosscompile.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 fheroes2/patches/0001-crosscompile.patch (limited to 'fheroes2/patches/0001-crosscompile.patch') diff --git a/fheroes2/patches/0001-crosscompile.patch b/fheroes2/patches/0001-crosscompile.patch new file mode 100644 index 0000000..364d1e8 --- /dev/null +++ b/fheroes2/patches/0001-crosscompile.patch @@ -0,0 +1,19 @@ +--- a/src/Makefile 2015-09-22 03:47:13.777305599 +0200 ++++ b/src/Makefile 2015-09-22 03:48:24.565303557 +0200 +@@ -12,7 +12,7 @@ + SDL_FLAGS := $(shell sdl-config --cflags) + endif + +-CFLAGS := $(CFLAGS) -Wall -fsigned-char ++CFLAGS := $(CFLAGS) $(CPPFLAGS) -Wall -fsigned-char + LDFLAGS := $(LDFLAGS) + LIBS := + +--- a/src/Makefile.all 2015-09-22 03:49:00.833302511 +0200 ++++ b/src/Makefile.all 2015-09-22 03:49:12.929302162 +0200 +@@ -1,4 +1,4 @@ +-AR := ar ++AR ?= ar + + ifndef CXX + CXX := g++ -- cgit v1.2.3