Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Solution:/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.../../../sparc-sun-solaris2.7/include/assert.h(fwd)
- To: Hylafax Mailing List <flexfax@sgi.com>
- Subject: flexfax: Solution:/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.../../../sparc-sun-solaris2.7/include/assert.h(fwd)
- From: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
- Date: Fri, 5 Nov 1999 18:56:06 -0500 (EST)
-----BEGIN PGP SIGNED MESSAGE-----
James Lee wrote:
Fix
I also tidy up multiple slash eg "////" to "/".
The original did not tidy /././ fully either.
line 252 and 253 in ``hylafax-v4.0pl2/port/mkdepend.in''
old:
-e :loop -e 's:[^\./][^\./]*/\.\./::g' -e tloop \
-e 's:\([/ ]\)\./:\1:g' \
new:
-e s:///*:/:g \
-e :l1 -e 's:\([/ ]\)\./:\1:' -e 's:/\.\./:/?/:' -e tl1 \
-e :l2 -e 's:/[^/^?]*/?/:/:' -e tl2 -e 's:?:\.\.:g' \
Dude! It works! Bless you! This piece of cruftiness has been running
me nuts with some of the GNU software as well in the configure files for
other packages!
I've written a diff based patch for this, for the 4.1beta2 code, and
have it attacked.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBOCNujT/+ItycgIJRAQFsCQP+Pi2kW6uIwQF2bMW3qNNoo1zQtg0hE9E3
3BmGdOAHZYHeRim/0eCUY8VChOi13JzbACmkQdZNejfTEyyiYXo37dhCZ4IxDSXe
OoF834polV61p/7h7YNfzavAZs88fIAgqjrWKaoCP9eZi+ZCZc4JNylvV2WKUIq4
JrZ4GvrWUrM=
=kqGG
-----END PGP SIGNATURE-----
*** hylafax/port/mkdepend.in.orig Mon Aug 23 07:19:39 1999
--- hylafax/port/mkdepend.in Fri Nov 5 18:53:00 1999
***************
*** 249,255 ****
depgenxx=`echo $depgen|sed -e s/\'//g -e 's/(/\\(/g' -e 's/)/\\)/g'`
$depgenxx $* |
eval "sed \
! -e 's:\([/ ]\)\./:\1:g' \
$sedprog" |
$AWK "$awkprog" >> $newdepfile
--- 249,257 ----
depgenxx=`echo $depgen|sed -e s/\'//g -e 's/(/\\(/g' -e 's/)/\\)/g'`
$depgenxx $* |
eval "sed \
! -e s:///*:/:g \
! -e :l1 -e 's:\([/ ]\)\./:\1:' -e 's:/\.\./:/?/:' -e tl1 \
! -e :l2 -e 's:/[^/^?]*/?/:/:' -e tl2 -e 's:?:\.\.:g' \
$sedprog" |
$AWK "$awkprog" >> $newdepfile