extractpdfmark: fix build with gettext 0.25 (#425806)

authored by Paul Haerle and committed by GitHub 6e23b486 b2b49f6c

+27 -6
+15
pkgs/by-name/ex/extractpdfmark/gettext-0.25.patch
··· 1 + diff --git a/configure.ac b/configure.ac 2 + index 2e7d562..c8dd741 100644 3 + --- a/configure.ac 4 + +++ b/configure.ac 5 + @@ -7,6 +7,10 @@ AC_INIT([Extract PDFmark], [1.1.1], , [extractpdfmark], 6 + AM_INIT_AUTOMAKE([foreign]) 7 + AC_CONFIG_SRCDIR([src/main.cc]) 8 + AC_CONFIG_HEADERS([config.h]) 9 + +AC_CONFIG_MACRO_DIRS([m4]) 10 + + 11 + +AM_GNU_GETTEXT_VERSION([0.25]) 12 + +AM_GNU_GETTEXT([external]) 13 + 14 + PACKAGE_COPYRIGHT="Copyright (C) 2016-2022 Masamichi Hosoda" 15 + PACKAGE_LICENSE="License: GPL3+"
+12 -6
pkgs/by-name/ex/extractpdfmark/package.nix
··· 20 20 hash = "sha256-pNc/SWAtQWMbB2+lIQkJdBYSZ97iJXK71mS59qQa7Hs="; 21 21 }; 22 22 23 + patches = [ 24 + ./gettext-0.25.patch 25 + ]; 26 + 27 + strictDeps = true; 28 + 23 29 nativeBuildInputs = [ 24 30 autoreconfHook 25 31 pkg-config 26 32 ]; 33 + 27 34 buildInputs = [ 28 - ghostscript 29 35 poppler 30 - texlive.combined.scheme-minimal 31 36 ]; 32 37 33 - postPatch = '' 34 - touch config.rpath 35 - ''; 38 + doCheck = true; 36 39 37 - doCheck = true; 40 + nativeCheckInputs = [ 41 + ghostscript 42 + texlive.combined.scheme-minimal 43 + ]; 38 44 39 45 meta = with lib; { 40 46 homepage = "https://github.com/trueroad/extractpdfmark";