Re: [AD] 4.0.2 on the PS2 Linux |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> Same thing happens on IRIX (shows how well I tested, *blush*).
Even worse than that: allegro-config is broken everywhere. And I have to
apply your remark inside the parentheses to myself :-(
> Patch attached; it's a missing close parentheses on line 84.
Yes. But the culprit is actually misc/fixver.sh, that wrongly overrides a
pattern with a sed script. I commited the following fix:
diff -u /home/eric/cvsroot/allegro/misc/fixver.sh
allegro-4.0.2/misc/fixver.sh
--- /home/eric/cvsroot/allegro/misc/fixver.sh Tue Jun 11 12:08:03 2002
+++ allegro/misc/fixver.sh Tue Jun 11 11:33:26 2002
@@ -98,7 +98,7 @@
sed -f fixver.sed fixver.tmp > makefile.ver
# patch allegro-config.in, allegro-config.qnx
-echo "s/version=.*/version=$1.$2.$3/" >> fixver.sed
+echo "s/version=[0-9].*/version=$1.$2.$3/" >> fixver.sed
echo "Patching misc/allegro-config.in..."
cp misc/allegro-config.in fixver.tmp
--
Eric Botcazou
ebotcazou@xxxxxxxxxx