diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-10-25 14:38:59 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-10-25 14:38:59 +0200 |
commit | eecd3bac95c31516d34bf7371def83c4bee3dd3b (patch) | |
tree | a79e1801971a559e87ec1f3d8e5207c95c516037 /games-roguelike/stone-soup/files | |
parent | www-plugins/adobe-flash: Version bump. (diff) | |
download | gentoo-eecd3bac95c31516d34bf7371def83c4bee3dd3b.tar.gz gentoo-eecd3bac95c31516d34bf7371def83c4bee3dd3b.tar.bz2 gentoo-eecd3bac95c31516d34bf7371def83c4bee3dd3b.zip |
games-roguelike/stone-soup: Version bump.
Package-Manager: Portage-2.3.12, Repoman-2.3.3
Diffstat (limited to 'games-roguelike/stone-soup/files')
-rw-r--r-- | games-roguelike/stone-soup/files/stone-soup-0.20.1-rltiles-ldflags-libs.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/games-roguelike/stone-soup/files/stone-soup-0.20.1-rltiles-ldflags-libs.patch b/games-roguelike/stone-soup/files/stone-soup-0.20.1-rltiles-ldflags-libs.patch new file mode 100644 index 000000000000..010c729b92eb --- /dev/null +++ b/games-roguelike/stone-soup/files/stone-soup-0.20.1-rltiles-ldflags-libs.patch @@ -0,0 +1,45 @@ +--- a/rltiles/Makefile ++++ b/rltiles/Makefile +@@ -1,7 +1,7 @@ + uname_S := $(shell uname -s) + + ifneq (,$(findstring MINGW,$(uname_S))) +-LDFLAGS += -lmingw32 ++LIBS += -lmingw32 + endif + + # Note: since generation of tiles is done on the host, we don't care about +@@ -29,7 +29,7 @@ + endif + + CFLAGS += $(PNG_INCLUDE) +- LDFLAGS += $(PNG_LIB) ++ LIBS += $(PNG_LIB) + + CFLAGS += -DUSE_TILE + endif +@@ -39,13 +39,13 @@ + endif + + ifneq (,$(findstring MINGW,$(uname_S))) +-LDFLAGS += -lgdi32 -lwinmm -lole32 -loleaut32 -limm32 -lshell32 -lversion -luuid ++LIBS += -lgdi32 -lwinmm -lole32 -loleaut32 -limm32 -lshell32 -lversion -luuid + endif + ifeq ($(uname_S),Darwin) +-LDFLAGS += -framework AppKit -framework AudioUnit -framework CoreAudio -framework ForceFeedback -framework Carbon -framework IOKit -framework OpenGL ++LIBS += -framework AppKit -framework AudioUnit -framework CoreAudio -framework ForceFeedback -framework Carbon -framework IOKit -framework OpenGL + endif + ifeq ($(uname_S),Linux) +-LDFLAGS += -ldl -lpthread ++LIBS += -ldl -lpthread + endif + + # Attempt to use a full compiler name, to make +@@ -134,6 +134,6 @@ + $(QUIET_HOSTCXX)$(HOSTCXX) $(CFLAGS) -MMD -c $< -o $@ + + $(TILEGEN): $(OBJECTS) +- $(QUIET_HOSTLINK)$(HOSTCXX) $(CFLAGS) $(OBJECTS) -o $@ $(LDFLAGS) ++ $(QUIET_HOSTLINK)$(HOSTCXX) $(CFLAGS) $(OBJECTS) -o $@ $(LDFLAGS) $(LIBS) + + .PHONY: all clean distclean |