~ruther/guix-local

ref: 22c9b4e430cc8b6dae1ae29fdba4567bfbbf2982 guix-local/gnu/packages/patches/aegisub-make43.patch -rw-r--r-- 674 bytes
22c9b4e4 — Ricardo Wurmus gnu: r-bbotk: Update to 1.8.1. 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Fix build with GNU Make 4.3:

https://github.com/Aegisub/Aegisub/issues/171

Patch taken from upstream:

https://github.com/Aegisub/Aegisub/commit/6bd3f4c26b8fc1f76a8b797fcee11e7611d59a39

diff --git a/Makefile.target b/Makefile.target
--- a/Makefile.target
+++ b/Makefile.target
@@ -112,7 +112,7 @@ POST_FLAGS = $($@_FLAGS) -c -o $@ $<
 # Libraries contain all object files they depend on (but they may depend on other files)
 # Not using libtool on OS X because it has an unsilenceable warning about a
 # compatibility issue with BSD 4.3 (wtf)
-lib%.a: $$($$*_OBJ)
+lib%.a: $$($$(*F)_OBJ)
 	@$(BIN_MKDIR_P) $(dir $@)
 	$(BIN_AR) cru $@ $(filter %.o,$^)
 	$(BIN_RANLIB) $@