aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/aegisub-make43.patch
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-04-10 17:15:32 +0200
committerMarius Bakke <mbakke@fastmail.com>2020-04-10 17:15:32 +0200
commite43e980f847564e46f96e09bf77c648c3ef98b3c (patch)
treeaa1bf1115c57e3b4db740aac918aec1ea64a5eec /gnu/packages/patches/aegisub-make43.patch
parent29c6fb0d33b3bea8677093eed1cfbd6483c9fbe8 (diff)
downloadguix-e43e980f847564e46f96e09bf77c648c3ef98b3c.tar
guix-e43e980f847564e46f96e09bf77c648c3ef98b3c.tar.gz
gnu: aegisub: Fix build with Make 4.3.
* gnu/packages/patches/aegisub-make43.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/video.scm (aegisub)[source](patches): Add it.
Diffstat (limited to 'gnu/packages/patches/aegisub-make43.patch')
-rw-r--r--gnu/packages/patches/aegisub-make43.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/patches/aegisub-make43.patch b/gnu/packages/patches/aegisub-make43.patch
new file mode 100644
index 0000000000..32f9d7749c
--- /dev/null
+++ b/gnu/packages/patches/aegisub-make43.patch
@@ -0,0 +1,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) $@