bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

patch: latest CVS fails to build with --disable-client


From: Jim Salter
Subject: patch: latest CVS fails to build with --disable-client
Date: Tue, 23 Dec 2003 21:11:52 -0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031208

The --disable-client option build fails as follows with the latest CVS code:

   $ ./configure --disable-client
   $ make clean all
   ....
   if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../diff -I../zlib
-I/usr/kerberos/include -Ino/include  -g -O2 -MT main.o -MD -MP -MF
".deps/main.Tpo" \
     -c -o main.o `test -f 'main.c' || echo './'`main.c; \
   then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
   else rm -f ".deps/main.Tpo"; exit 1; \
   fi
   main.c: In function `main':
   main.c:1036: error: structure has no member named `isremote'
   make[1]: *** [main.o] Error 1
   $

This is fixed with the following patch:

   Index: src/main.c
   ===================================================================
   RCS file: /cvs/ccvs/src/main.c,v
   retrieving revision 1.201
   diff -b -p -r1.201 main.c
   *** src/main.c  24 Nov 2003 21:27:07 -0000      1.201
   --- src/main.c  24 Dec 2003 05:08:47 -0000
   *************** cause intermittent sandbox corruption.")
   *** 1033,1039 ****
                    */
                   server_active ||
     #endif
   !               !current_parsed_root->isremote && !lock_cleanup_setup)
               {
/* Set up to clean up any locks we might create on exit. */
                   cleanup_register (Lock_Cleanup);
   --- 1033,1042 ----
                    */
                   server_active ||
     #endif
   ! #ifdef CLIENT_SUPPORT
   !               !current_parsed_root->isremote &&
   ! #endif
   !               !lock_cleanup_setup)
               {
/* Set up to clean up any locks we might create on exit. */
                   cleanup_register (Lock_Cleanup);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]