1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 16:11:58 +00:00
nixpkgs/pkgs/applications/search/recoll/versionawk.patch
Bojan Nikolic d71b1294dc recoll: 1.20.6 -> 1.21.3
Add dependency on bison. Correct corruption caused by substituteInPlace
replacing non-commands in the filters
2015-12-18 14:09:28 +00:00

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