wok-next annotate docbook-utils/stuff/patches/docbook-utils-0.6.14-grep_fix-1.patch @ rev 20367

pywebkitgtk: up and use webkitgtk; claws-mail-dev: update dependencies.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 24 15:34:52 2017 +0200 (2017-11-24)
parents
children
rev   line source
al@19790 1 Submitted By: Ken Moffat <ken at linuxfromscratch dot org>
al@19790 2 Date: 2011-01-01
al@19790 3 Initial Package Version: 0.6.14
al@19790 4 Upstream Status: unknown
al@19790 5 Origin: fedora
al@19790 6 Description: Grep-2.7 errors out on the 'space' syntax, causing
al@19790 7 docbook2html to fail. Fixed up by hand (the fedora version depends
al@19790 8 on a different patch which adds --color=never).
al@19790 9
al@19790 10 diff -Naur docbook-utils-0.6.14.orig/bin/jw.in docbook-utils-0.6.14//bin/jw.in
al@19790 11 --- docbook-utils-0.6.14.orig/bin/jw.in 2003-04-30 17:21:49.000000000 +0100
al@19790 12 +++ docbook-utils-0.6.14//bin/jw.in 2011-01-01 18:43:21.558959786 +0000
al@19790 13 @@ -80,9 +80,9 @@
al@19790 14 SGML_CATALOGS_DIR="/etc/sgml"
al@19790 15 if [ -f "$SGML_CONF" ]
al@19790 16 then
al@19790 17 - RE='^[:space:]*SGML_BASE_DIR[:space:]*=[:space:]*'
al@19790 18 + RE='^[[:space:]]*SGML_BASE_DIR[[:space:]]*=[[:space:]]*'
al@19790 19 SGML_BASE_DIR=`grep $RE $SGML_CONF | sed "s/$RE//"`
al@19790 20 - RE='^[:space:]*SGML_CATALOGS_DIR[:space:]*=[:space:]*'
al@19790 21 + RE='^[[:space:]]*SGML_CATALOGS_DIR[[:space:]]*=[[:space:]]*'
al@19790 22 SGML_CATALOGS_DIR=`grep $RE $SGML_CONF | sed "s/$RE//"`
al@19790 23 fi
al@19790 24
al@19790 25 @@ -312,7 +312,7 @@
al@19790 26 SGML_CATALOG_FILES=$SGML_CENTRALIZED_CATALOG
al@19790 27 else
al@19790 28 SGML_CATALOG_FILES=`find $SGML_BASE_DIR -name catalog`
al@19790 29 - SGML_CATALOG_FILES=`echo "$SGML_CATALOG_FILES" | tr [:space:] :`
al@19790 30 + SGML_CATALOG_FILES=`echo "$SGML_CATALOG_FILES" | tr [[:space:]] :`
al@19790 31 fi
al@19790 32 ;;
al@19790 33 no) SGML_CATALOG_FILES=""