[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS 1.12.4 doesn't build on Win32.
From: |
Rob Clevenger |
Subject: |
CVS 1.12.4 doesn't build on Win32. |
Date: |
Tue, 9 Dec 2003 19:50:56 -0800 |
Here's a patch to make the 1.12.4.1 cvs from cvs build.
Please let me know any comments/feedback.
Thanks,
Rob
-------------------------------------------------------------------
Index: lib/xgetwd.c
===================================================================
RCS file: /cvsroot/ccvs/lib/xgetwd.c,v
retrieving revision 1.5
diff -u -r1.5 xgetwd.c
--- lib/xgetwd.c 29 Nov 1997 22:52:35 -0000 1.5
+++ lib/xgetwd.c 10 Dec 2003 03:46:24 -0000
@@ -18,6 +18,7 @@
#endif
#include "system.h"
+#include "pathmax.h"
#include <stdio.h>
#include <errno.h>
Index: src/tag.c
===================================================================
RCS file: /cvsroot/ccvs/src/tag.c,v
retrieving revision 1.109
diff -u -r1.109 tag.c
--- src/tag.c 24 Nov 2003 21:27:07 -0000 1.109
+++ src/tag.c 10 Dec 2003 03:46:34 -0000
@@ -1196,7 +1196,7 @@
"tag_check_valid ( name=%s, argc=%d, argv=%lx, local=%d,\n"
" aflag=%d, repository=%s )",
name ? name : "(name)", argc, (unsigned long)argv, local, aflag,
- repository ? repository : "(null") );
+ repository ? repository : "(null)" );
#endif
/* Numeric tags require only a syntactic check. */
Index: windows-NT/config.h
===================================================================
RCS file: /cvsroot/ccvs/windows-NT/config.h,v
retrieving revision 1.57
diff -u -r1.57 config.h
--- windows-NT/config.h 9 Dec 2003 22:09:42 -0000 1.57
+++ windows-NT/config.h 10 Dec 2003 03:46:42 -0000
@@ -293,7 +293,7 @@
#define SYSTEM_INITIALIZE(pargc,pargv) init_winsock()
extern void init_winsock();
-#define SYSTEM_CLEANUP() wnt_cleanup()
+#define SYSTEM_CLEANUP wnt_cleanup
extern void wnt_cleanup (void);
#define HAVE_WINSOCK_H
Index: cvsnt.mak
===================================================================
RCS file: /cvsroot/ccvs/cvsnt.mak,v
retrieving revision 1.49
diff -u -r1.49 cvsnt.mak
--- cvsnt.mak 27 Oct 2003 14:18:19 -0000 1.49
+++ cvsnt.mak 10 Dec 2003 03:46:50 -0000
@@ -156,7 +156,11 @@
-@erase ".\WinRel\mkdir.obj"
-@erase ".\WinRel\socket-client.obj"
-@erase ".\WinRel\log-buffer.obj"
- -@erase '.\WInRel\rsh-client.obj"
+ -@erase ".\WinRel\rsh-client.obj"
+ -@erase ".\WinRel\ftello.obj"
+ -@erase ".\WinRel\fseeko.obj"
+ -@erase ".\WinRel\exithandle.obj"
+ -@erase ".\WinRel\getndelim2.obj"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
@@ -289,7 +293,11 @@
"$(INTDIR)/mkdir.obj" \
"$(INTDIR)/socket-client.obj" \
"$(INTDIR)/log-buffer.obj" \
- "$(INTDIR)/rsh-client.obj"
+ "$(INTDIR)/rsh-client.obj" \
+ "$(INTDIR)/ftello.obj" \
+ "$(INTDIR)/fseeko.obj" \
+ "$(INTDIR)/exithandle.obj" \
+ "$(INTDIR)/getndelim2.obj"
"$(OUTDIR)\cvs.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
@@ -384,7 +392,11 @@
-@erase ".\WinDebug\mkdir.obj"
-@erase ".\WinDebug\socket-client.obj"
-@erase ".\WinDebug\log-buffer.obj"
- -@erase '.\WInDebug\rsh-client.obj"
+ -@erase ".\WinDebug\rsh-client.obj"
+ -@erase ".\WinDebug\ftello.obj"
+ -@erase ".\WinDebug\fseeko.obj"
+ -@erase ".\WinDebug\exithandle.obj"
+ -@erase ".\WinDebug\getndelim2.obj"
-@erase ".\WinDebug\uncompr.obj"
-@erase ".\WinDebug\ignore.obj"
-@erase ".\WinDebug\root.obj"
@@ -520,6 +532,10 @@
"$(INTDIR)/socket-client.obj" \
"$(INTDIR)/log-buffer.obj" \
"$(INTDIR)/rsh-client.obj" \
+ "$(INTDIR)/ftello.obj" \
+ "$(INTDIR)/fseeko.obj" \
+ "$(INTDIR)/exithandle.obj" \
+ "$(INTDIR)/getndelim2.obj" \
"$(INTDIR)/uncompr.obj" \
"$(INTDIR)/ignore.obj" \
"$(INTDIR)/root.obj" \
@@ -2198,6 +2214,7 @@
# End Source File
############################################################################
####
+
# Begin Source File
SOURCE=.\src\rsh-client.c
@@ -2234,6 +2251,60 @@
# End Source File
############################################################################
####
+
+# Begin Source File
+
+SOURCE=.\lib\ftello.c
+DEP_CPP_FTELLO_C=\
+ ".\windows-NT\config.h"\
+
+"$(INTDIR)\ftello.obj" : $(SOURCE) $(DEP_CPP_FTELLO_C) "$(INTDIR)"
+ $(CPP) $(CPP_PROJ) $(SOURCE)
+
+
+# End Source File
+###########################################################################
#####
+# Begin Source File
+
+SOURCE=.\lib\fseeko.c
+DEP_CPP_FSEEKO_C=\
+ ".\windows-NT\config.h"\
+
+"$(INTDIR)\fseeko.obj" : $(SOURCE) $(DEP_CPP_FSEEKO_C) "$(INTDIR)"
+ $(CPP) $(CPP_PROJ) $(SOURCE)
+
+
+# End Source File
+###########################################################################
#####
+
+# Begin Source File
+
+SOURCE=.\src\exithandle.c
+DEP_CPP_EXITHANDLE_C=\
+ ".\src\cvs.h"\
+
+"$(INTDIR)\exithandle.obj" : $(SOURCE) $(DEP_CPP_EXITHANDLE_C) "$(INTDIR)"
+ $(CPP) $(CPP_PROJ) $(SOURCE)
+
+
+# End Source File
+###########################################################################
#####
+# Begin Source File
+
+SOURCE=.\lib\getndelim2.c
+DEP_CPP_GETNDELIM2_C=\
+ ".\windows-NT\config.h"\
+ ".\lib\getndelim2.h"\
+ ".\lib\unlocked-io.h"
+
+"$(INTDIR)\getndelim2.obj" : $(SOURCE) $(DEP_CPP_GETNDELIM2_C) "$(INTDIR)"
+ $(CPP) $(CPP_PROJ) $(SOURCE)
+
+
+# End Source File
+###########################################################################
#####
+
+
# Begin Source File
SOURCE=.\src\log-buffer.c
- CVS 1.12.4 doesn't build on Win32.,
Rob Clevenger <=