![](https://seccdn.libravatar.org/avatar/6ecea25fec0d8a8e1c0f921aa80ebea8.jpg?s=120&d=mm&r=g)
Hi I run SuSE linux 7.3. Randomly I found an article that told about a bug in the suse apsfilter. I have tried to patch the patch file to it, but the result is as shown: unk #1 FAILED at 87. 1 out of 1 hunk FAILED -- saving rejects to file apsfilter.rej eurit:/var/lib/apsfilter # *************** *** 87,99 **** # # Strange GNU grep 2.3 (and higher?) ! # grepver=$(grep -V 2> /dev/null | head -n 1) GREPOPT="" case $grepver in ! *GNU*grep*) ! major=${grepver##* } ! minor=${major##*.} ! major=${major%%.*} ! test $major -ge 2 -a $minor -ge 3 && GREPOPT="-a" ;; *) ;; --- 87,102 ---- # # Strange GNU grep 2.3 (and higher?) ! # And strange consequences of excessive localisation ;) Raph grepver=$(grep -V 2> /dev/null | head -n 1) GREPOPT="" case $grepver in ! # The french grep -V puts "GNU" _after_ "grep", causing old expr to fail! ! *GNU*) ! vernum=${grepver##* } ! # Must make sure we grab the first 2 digits. Newer versions have three! ! major=$(echo $vernum|cut -d'.' -f1) ! minor=$(echo $vernum|cut -d'.' -f2) ! test $major -eq 2 -a $minor -ge 3 \ ! -o $major -ge 3 && GREPOPT="-a" ;; *) ;; -- Med venlig hilsen / Best regards / vy73 de OZ4KK Erik Jakobsen - erik@urbakken.dk SuSE Linux 7.3
![](https://seccdn.libravatar.org/avatar/892c3502df38a2c25ab86c62f8f1df6d.jpg?s=120&d=mm&r=g)
Erik Jakobsen schrieb:
Hi
I run SuSE linux 7.3.
Randomly I found an article that told about a bug in the suse apsfilter.
I have tried to patch the patch file to it, but the result is as shown:
unk #1 FAILED at 87. 1 out of 1 hunk FAILED -- saving rejects to file apsfilter.rej eurit:/var/lib/apsfilter #
[...] same here, or rather at work. I do not know wether the german (european) SuSE 7.3 differs in some sort from the US 7.3 version, were this patch was originally developed for. So I am also interested... Juergen -- =========================================== __ _ Juergen Braukmann juergen.braukmann@gmx.de| -o)/ / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ / ===========================================_\_v __/_/_//_/\_,_/ /_/\_\
participants (2)
-
Erik Jakobsen
-
Juergen Braukmann