Changeset 3015 for trunk/dports
- Timestamp:
- Jul 9, 2003, 5:34:09 AM (21 years ago)
- Location:
- trunk/dports/devel/cvs-port
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/devel/cvs-port/Portfile
r3014 r3015 1 # $Id: Portfile,v 1. 4 2003/07/09 05:03:36landonf Exp $1 # $Id: Portfile,v 1.5 2003/07/09 05:34:08 landonf Exp $ 2 2 PortSystem 1.0 3 3 name cvs 4 version 1.11.5 5 revision 1 4 version 1.11.6 6 5 description Concurrent Versions System 7 6 long_description CVS is the Concurrent Versions System, the dominant \ … … 10 9 developers to large, distributed teams: 11 10 maintainers Landon Fuller <landonf@opendarwin.org> 12 master_sites http://ftp.gnu.org/non-gnu/cvs/ 11 master_sites http://distfiles.opendarwin.org/ \ 12 http://www.cvshome.org/files/19/10/ \ 13 http://ftp.gnu.org/non-gnu/cvs/ 13 14 categories devel net 14 checksums md5 b0b5e955c0d83b694c7835dc3e6f0b7d 15 checksums md5 06a5bbcd93a780a3bbec788deb1cf35b 16 use_bzip2 yes 15 17 16 18 # With certain servers (namely the one at work), cvs attempts to write a -
trunk/dports/devel/cvs-port/files/patch-client.c
r3013 r3015 1 diff -rub cvs-1.11. 5.orig/src/client.c cvs-1.11.5/src/client.c2 --- src/client.c Tue Jul 8 2 1:51:0820033 +++ src/client.c Tue Jul 8 2 1:51:5720034 @@ -14 31,7 +1431,8 @@1 diff -rub cvs-1.11.6.orig/src/client.c cvs-1.11.6/src/client.c 2 --- src/client.c Tue Jul 8 22:09:06 2003 3 +++ src/client.c Tue Jul 8 22:15:32 2003 4 @@ -1429,7 +1429,8 @@ 5 5 the contents of that file and write them to FILENAME. FULLNAME is 6 6 the name of the file for use in error messages. FIXME-someday: … … 12 12 read_counted_file (filename, fullname) 13 13 char *filename; 14 @@ -14 50,7 +1451,7 @@14 @@ -1448,7 +1449,7 @@ 15 15 size_t nread; 16 16 size_t nwrite; … … 21 21 read_line (&size_string); 22 22 if (size_string[0] == 'z') 23 @@ -14 71,9 +1472,12 @@23 @@ -1469,9 +1470,12 @@ 24 24 is binary or not. I haven't carefully looked into whether 25 25 CVS/Template files should use local text file conventions or … … 34 34 nwrite = 0; 35 35 pread = buf; 36 @@ -149 2,16 +1496,20 @@36 @@ -1490,16 +1494,20 @@ 37 37 38 38 if (nwrite > 0) … … 56 56 57 57 /* OK, we want to swallow the "U foo.c" response and then output it only 58 @@ -2529,9 +2537,15 @@ 59 char *short_pathname; 60 char *filename; 61 { 62 + char *output; 58 @@ -2531,6 +2539,9 @@ 59 + strlen ( CVSADM_TEMPLATE ) 60 + 2 ); 61 sprintf ( buf, "%s/%s", short_pathname, CVSADM_TEMPLATE ); 63 62 + if (strcmp (command_name, "export") == 0) 64 + output = NULL;63 + read_counted_file ( NULL, buf ); 65 64 + else 66 + output = CVSADM_TEMPLATE; 67 + 68 /* FIXME: should be computing second argument from CVSADM_TEMPLATE 69 and short_pathname. */ 70 - read_counted_file (CVSADM_TEMPLATE, "<CVS/Template file>"); 71 + read_counted_file (output, "<CVS/Template file>"); 65 read_counted_file ( CVSADM_TEMPLATE, buf ); 66 free ( buf ); 72 67 } 73 74 static void handle_template PROTO ((char *, int));
Note: See TracChangeset
for help on using the changeset viewer.