guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: aegisub: Fix build with Make 4.3.


From: guix-commits
Subject: 01/02: gnu: aegisub: Fix build with Make 4.3.
Date: Fri, 10 Apr 2020 14:20:55 -0400 (EDT)

mbakke pushed a commit to branch core-updates
in repository guix.

commit e43e980f847564e46f96e09bf77c648c3ef98b3c
Author: Marius Bakke <address@hidden>
AuthorDate: Fri Apr 10 17:15:32 2020 +0200

    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.
---
 gnu/local.mk                              |  3 ++-
 gnu/packages/patches/aegisub-make43.patch | 20 ++++++++++++++++++++
 gnu/packages/video.scm                    |  1 +
 3 files changed, 23 insertions(+), 1 deletion(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index 2197ae5..b10c856 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -722,7 +722,8 @@ dist_patch_DATA =                                           
\
   %D%/packages/patches/aegis-test-fixup-1.patch                \
   %D%/packages/patches/aegis-test-fixup-2.patch                \
   %D%/packages/patches/aegisub-icu59-include-unistr.patch      \
-  %D%/packages/patches/aegisub-boost68.patch                    \
+  %D%/packages/patches/aegisub-boost68.patch                   \
+  %D%/packages/patches/aegisub-make43.patch                    \
   %D%/packages/patches/agg-am_c_prototype.patch                        \
   %D%/packages/patches/akonadi-paths.patch             \
   %D%/packages/patches/akonadi-Revert-Make-installation-properly-relo.patch \
diff --git a/gnu/packages/patches/aegisub-make43.patch 
b/gnu/packages/patches/aegisub-make43.patch
new file mode 100644
index 0000000..32f9d77
--- /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) $@
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index cbdc5fb..16fd934 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -3249,6 +3249,7 @@ programmers to access a standard API to open and 
decompress media files.")
                (base32
                 "11b83qazc8h0iidyj1rprnnjdivj1lpphvpa08y53n42bfa36pn5"))
               (patches (search-patches "aegisub-icu59-include-unistr.patch"
+                                       "aegisub-make43.patch"
                                        "aegisub-boost68.patch"))))
     (build-system gnu-build-system)
     (arguments



reply via email to

[Prev in Thread] Current Thread [Next in Thread]