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 hash = "sha256-pNc/SWAtQWMbB2+lIQkJdBYSZ97iJXK71mS59qQa7Hs="; 21 }; 22 23 nativeBuildInputs = [ 24 autoreconfHook 25 pkg-config 26 ]; 27 buildInputs = [ 28 - ghostscript 29 poppler 30 - texlive.combined.scheme-minimal 31 ]; 32 33 - postPatch = '' 34 - touch config.rpath 35 - ''; 36 37 - doCheck = true; 38 39 meta = with lib; { 40 homepage = "https://github.com/trueroad/extractpdfmark";
··· 20 hash = "sha256-pNc/SWAtQWMbB2+lIQkJdBYSZ97iJXK71mS59qQa7Hs="; 21 }; 22 23 + patches = [ 24 + ./gettext-0.25.patch 25 + ]; 26 + 27 + strictDeps = true; 28 + 29 nativeBuildInputs = [ 30 autoreconfHook 31 pkg-config 32 ]; 33 + 34 buildInputs = [ 35 poppler 36 ]; 37 38 + doCheck = true; 39 40 + nativeCheckInputs = [ 41 + ghostscript 42 + texlive.combined.scheme-minimal 43 + ]; 44 45 meta = with lib; { 46 homepage = "https://github.com/trueroad/extractpdfmark";