k2pdfopt: turn off format hardening
This commit is contained in:
parent
76ee9e0f46
commit
7517563efb
@ -31,6 +31,8 @@ in stdenv.mkDerivation rec {
|
|||||||
openjpeg freetype jbig2dec djvulibre openssl ];
|
openjpeg freetype jbig2dec djvulibre openssl ];
|
||||||
NIX_LDFLAGS = "-lX11 -lXext";
|
NIX_LDFLAGS = "-lX11 -lXext";
|
||||||
|
|
||||||
|
hardening_format = false;
|
||||||
|
|
||||||
k2_pa = ./k2pdfopt.patch;
|
k2_pa = ./k2pdfopt.patch;
|
||||||
tess_pa = ./tesseract.patch;
|
tess_pa = ./tesseract.patch;
|
||||||
|
|
||||||
@ -96,7 +98,7 @@ in stdenv.mkDerivation rec {
|
|||||||
-ljbig2dec -ljpeg -lopenjp2 -lpng -lfreetype -lpthread -lmujs \
|
-ljbig2dec -ljpeg -lopenjp2 -lpng -lfreetype -lpthread -lmujs \
|
||||||
-lPgm2asc -llept -ltesseract -lcrypto
|
-lPgm2asc -llept -ltesseract -lcrypto
|
||||||
|
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp k2pdfopt $out/bin
|
cp k2pdfopt $out/bin
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user