about summary refs log tree commit diff
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2024-01-12 00:37:20 -0500
committerGitHub <noreply@github.com>2024-01-12 00:37:20 -0500
commit2d1e7548dc44db55cab310a0a5ad79667e92d5c0 (patch)
tree76272f7e5a2db24e03db9e0d2a3c5e9898134930 /pkgs/applications/graphics
parent9d7ac20ba0804c56a2292a23a7772faffa3a6b71 (diff)
parentfca2aa2345be283b8be90ebc21fee69573f4c992 (diff)
Merge pull request #276758 from trofi/synfig-autoconf-2.72-fix
synfig: pull upstream patch for `autoconf-2.72` support
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r--pkgs/applications/graphics/synfigstudio/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/synfigstudio/default.nix b/pkgs/applications/graphics/synfigstudio/default.nix
index 61fcb3a24bc69..34f9baad68041 100644
--- a/pkgs/applications/graphics/synfigstudio/default.nix
+++ b/pkgs/applications/graphics/synfigstudio/default.nix
@@ -1,6 +1,7 @@
 { lib
 , stdenv
 , fetchFromGitHub
+, fetchpatch
 , pkg-config
 , autoreconfHook
 , wrapGAppsHook
@@ -54,6 +55,17 @@ let
     pname = "synfig";
     inherit version src;
 
+    patches = [
+      # Pull upstream fix for autoconf-2.72 support:
+      #   https://github.com/synfig/synfig/pull/2930
+      (fetchpatch {
+        name = "autoconf-2.72.patch";
+        url = "https://github.com/synfig/synfig/commit/80a3386c701049f597cf3642bb924d2ff832ae05.patch";
+        stripLen = 1;
+        hash = "sha256-7gX8tJCR81gw8ZDyNYa8UaeZFNOx4o1Lnq0cAcaKb2I=";
+      })
+    ];
+
     sourceRoot = "${src.name}/synfig-core";
 
     configureFlags = [