mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
d71b1294dc
Add dependency on bison. Correct corruption caused by substituteInPlace replacing non-commands in the filters
13 lines
589 B
Diff
13 lines
589 B
Diff
diff -ru recoll-1.21.3-orig/filters/rclpdf recoll-1.21.3/filters/rclpdf
|
|
--- recoll-1.21.3-orig/filters/rclpdf 2015-09-28 08:08:15.000000000 +0100
|
|
+++ recoll-1.21.3/filters/rclpdf 2015-12-14 21:37:01.984945925 +0000
|
|
@@ -129,7 +129,7 @@
|
|
{
|
|
# Test poppler version: at some point before 0.24, poppler began
|
|
# to properly escape text inside the header (but not the body).
|
|
- XYZ=`pdftotext -v 2>&1 | awk '/pdftotext/{print $3}'`
|
|
+ XYZ=`pdftotext -v 2>&1 | awk '/version/{print $3}'`
|
|
MAJOR=`echo $XYZ | cut -d. -f 1`
|
|
MINOR=`echo $XYZ | cut -d. -f 2`
|
|
escapeheader=1
|