|
From: Serge L. <sma...@us...> - 2007-03-21 10:19:37
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv3553 Modified Files: LPRng mt-st liblockfile Log Message: - fixed compilation errors Index: liblockfile =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/liblockfile,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- liblockfile 18 Dec 2006 17:05:35 -0000 1.2 +++ liblockfile 21 Mar 2007 10:19:29 -0000 1.3 @@ -28,7 +28,14 @@ case $1 in build ) + if [ "$CONFIG_LIBLOCKFILE" = "y" ]; then +# * glibc 2.4 added an eaccess declaration to unistd.h; rename our eaccess +# function to eaccess_write +# -- Colin Watson <cjw...@ub...> Fri, 13 Oct 2006 14:16:05 +0100 + replace_str ./lockfile.c 'eaccess' 'eaccess_write' + replace_str ./dotlockfile.c 'eaccess' 'eaccess_write' + ./configure --enable-shared --with-mailgroup \ --prefix=/usr --mandir=/usr/share/man || exit 1 make $PMAKE || exit 1 Index: mt-st =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/mt-st,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- mt-st 12 Dec 2004 21:48:08 -0000 1.2 +++ mt-st 21 Mar 2007 10:19:29 -0000 1.3 @@ -25,6 +25,7 @@ case $1 in build ) if [ "$CONFIG_MT_ST" = "y" ]; then + replace_str mtio.h '#include <linux/qic117.h>' '#include "qic117.h"' make $PMAKE all || exit 1 #make all || exit 1 strip_debug Index: LPRng =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/LPRng,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- LPRng 7 Jan 2006 17:57:19 -0000 1.4 +++ LPRng 21 Mar 2007 10:19:29 -0000 1.5 @@ -28,6 +28,9 @@ case $1 in build ) if [ "$CONFIG_LPRNG" = "y" ]; then + sed -i 's@CLEAR,0@CLEAR,CLEAR,NULL@' src/common/lpq.c && + sed -i 's@\(fi\|done\) \\@\1; \\@' Makefile.in && + replace_str ./Makefile.in 'SHELL="@SHELL@"' 'SHELL=@SHELL@' && ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc \ --with-userid=lpadmin --with-groupid=lpadmin --disable-nls --with-pic || exit 1 make $PMAKE all || exit 1 |