about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWORLDofPEACE <worldofpeace@protonmail.ch>2020-09-07 15:30:06 -0400
committerGitHub <noreply@github.com>2020-09-07 15:30:06 -0400
commit12a20ce010d91f590939cb951d3a7f9f5d7a5acf (patch)
tree07628741bd5508f65c36f48203f531a86fb831fb
parent5cb75cb5734e0a363d1de6a28f6c9ae778242d35 (diff)
parent6dfdc15ac3765e53947f2773c01cc0160ee3d45c (diff)
Merge pull request #95546 from risicle/ris-gpac-1.0.0
gpac: 0.8.0 -> 1.0.0 addressing numerous CVEs
-rw-r--r--pkgs/applications/video/gpac/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/applications/video/gpac/default.nix b/pkgs/applications/video/gpac/default.nix
index e587a5999054d..4fcff75f09566 100644
--- a/pkgs/applications/video/gpac/default.nix
+++ b/pkgs/applications/video/gpac/default.nix
@@ -1,16 +1,20 @@
 { stdenv, fetchFromGitHub, pkgconfig, zlib }:
 
 stdenv.mkDerivation rec {
-  version = "0.8.0";
+  version = "1.0.0";
   pname = "gpac";
 
   src = fetchFromGitHub {
     owner = "gpac";
     repo = "gpac";
     rev = "v${version}";
-    sha256 = "1w1dyrn6900yi8ngchfzy5hvxr6yc60blvdq8y8mczimmmq8khb5";
+    sha256 = "11jrklaahhdfqhci7f3lzv8wchh9bc91rg6w8ibh6varrk692vsb";
   };
 
+  postPatch = ''
+    substituteInPlace Makefile --replace 'dh_link' 'ln -s'
+  '';
+
   # this is the bare minimum configuration, as I'm only interested in MP4Box
   # For most other functionality, this should probably be extended
   nativeBuildInputs = [ pkgconfig ];