summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-engines/frotz/files')
-rw-r--r--games-engines/frotz/files/dumb-ldflags.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/games-engines/frotz/files/dumb-ldflags.patch b/games-engines/frotz/files/dumb-ldflags.patch
new file mode 100644
index 00000000000..2ac968b4b1d
--- /dev/null
+++ b/games-engines/frotz/files/dumb-ldflags.patch
@@ -0,0 +1,25 @@
+From 4b4597d49dc024adf99a336d836709b876846128 Mon Sep 17 00:00:00 2001
+From: James Le Cuirot <chewi@gentoo.org>
+Date: Sat, 26 Oct 2019 14:14:00 +0100
+Subject: [PATCH] Add missing LDFLAGS when linking dfrotz
+
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 3c3c318..ed71a7d 100644
+--- a/Makefile
++++ b/Makefile
+@@ -261,7 +261,7 @@ nosound_helper:
+
+ dumb: $(DFROTZ_BIN)
+ $(DFROTZ_BIN): $(COMMON_LIB) $(DUMB_LIB) $(BLORB_LIB) $(COMMON_LIB)
+- $(CC) $+ -o $@$(EXTENSION)
++ $(CC) $+ -o $@$(EXTENSION) $(LDFLAGS)
+ @echo "** Done building Frotz with dumb interface."
+
+ sdl: $(SFROTZ_BIN)
+--
+2.23.0
+