summaryrefslogtreecommitdiff
path: root/devel/cvsnt/files/patch-lib-getopt.h
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2004-01-25 15:27:24 +0000
committerMax Khon <fjoe@FreeBSD.org>2004-01-25 15:27:24 +0000
commit6f344f7598eca9bc94d3f69579a7eba823c3a1e4 (patch)
tree6b0f0ac1c72a0eff473144b05539cef81c91d081 /devel/cvsnt/files/patch-lib-getopt.h
parentrequires perl > 5.6.0 (diff)
New port: cvsnt.
CVSNT is a CVS clone. CVSNT features are: * Merge tracking via MergePoint attribute. * Support for :sspi: and :sserver: authentication. * Branch ACLs can be used to restrict access. * Directory browsing via cvs ls command. * LockServer on a second port replaces filesystem-based locks & provides file level locking. * More sophisticated / extra triggers available e.g. postcommit. * Supports Unicode files with additional keyword expansion switches. * Atomic Checkout behaviour ensures you get the right version of every file. * Efficient storage of binary files using binary deltas.
Notes
Notes: svn path=/head/; revision=99082
Diffstat (limited to 'devel/cvsnt/files/patch-lib-getopt.h')
-rw-r--r--devel/cvsnt/files/patch-lib-getopt.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/cvsnt/files/patch-lib-getopt.h b/devel/cvsnt/files/patch-lib-getopt.h
new file mode 100644
index 000000000000..5ecae90d9cd3
--- /dev/null
+++ b/devel/cvsnt/files/patch-lib-getopt.h
@@ -0,0 +1,11 @@
+--- lib/getopt.h.orig Sun Jan 25 20:07:35 2004
++++ lib/getopt.h Sun Jan 25 20:08:37 2004
+@@ -97,7 +97,7 @@
+ exactly why), and there is no particular need to prototype it.
+ We really shouldn't be trampling on the system's namespace at all by
+ declaring getopt() but that is a bigger issue. */
+-extern int getopt ();
++extern int getopt (int argc, char *const argv[], const char *shortopts);
+
+ extern int getopt_long (int argc, char *const *argv, const char *shortopts,
+ const struct option *longopts, int *longind);