diff options
author | Robert Scott <code@humanleg.org.uk> | 2023-02-12 19:04:25 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-12 19:04:25 +0000 |
commit | ba40f8ea1c6632172e8161b6e574947fc4aaa055 (patch) | |
tree | 7d392077756b2ad6632bc43ec3c49c425f25cd6b /pkgs/applications/video | |
parent | 2ac55b53b7e72ae12cde487fca319cd1c8d3a41b (diff) | |
parent | 3caa473dcf37346ef0f4ac00eba2b74765077c47 (diff) | |
download | nixpkgs-ba40f8ea1c6632172e8161b6e574947fc4aaa055.tar nixpkgs-ba40f8ea1c6632172e8161b6e574947fc4aaa055.tar.gz nixpkgs-ba40f8ea1c6632172e8161b6e574947fc4aaa055.tar.bz2 nixpkgs-ba40f8ea1c6632172e8161b6e574947fc4aaa055.tar.lz nixpkgs-ba40f8ea1c6632172e8161b6e574947fc4aaa055.tar.xz nixpkgs-ba40f8ea1c6632172e8161b6e574947fc4aaa055.tar.zst nixpkgs-ba40f8ea1c6632172e8161b6e574947fc4aaa055.zip |
Merge pull request #210409 from r-ryantm/auto-update/leptonica
leptonica: 1.82.0 -> 1.83.0
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/ccextractor/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/applications/video/ccextractor/default.nix b/pkgs/applications/video/ccextractor/default.nix index 26954375aff..3d623846347 100644 --- a/pkgs/applications/video/ccextractor/default.nix +++ b/pkgs/applications/video/ccextractor/default.nix @@ -23,7 +23,10 @@ stdenv.mkDerivation rec { sha256 = "sha256-usVAKBkdd8uz9cD5eLd0hnwGonOJLscRdc+iWDlNXVc="; }; - postPatch = lib.optionalString stdenv.isDarwin '' + postPatch = '' + # https://github.com/CCExtractor/ccextractor/issues/1467 + sed -i '/allheaders.h/a#include <leptonica/pix_internal.h>' src/lib_ccx/ocr.c + '' + lib.optionalString stdenv.isDarwin '' substituteInPlace src/CMakeLists.txt \ --replace 'add_definitions(-DGPAC_CONFIG_LINUX)' 'add_definitions(-DGPAC_CONFIG_DARWIN)' ''; |