Here's my suggested fix:

stash% pwd
/usr/src/gnu/usr.bin/sort
stash% cvs diff -uN
cvs diff: Diffing .
Index: posixver.c
===================================================================
RCS file: posixver.c
diff -N posixver.c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ posixver.c  24 Sep 2002 20:37:22 -0000
@@ -0,0 +1,8 @@
+/*
+ * Tell GNU sort(1) to implement the obsolete +1 -0 syntax even though
+ * it has been removed from the version of POSIX that the rest of
+ * the system conforms to.
+ */
+int posix2_version(void) {
+       return 0;
+}

If it's too confusing to have files with the same names in
/usr/src/gnu/usr.bin/sort and /usr/src/contrib/gnu-sort/lib this one
could be renamed (e.g. to "posixver-notreally.c") with a corresponding
Makefile change.

I am in the middle of a buildworld with this change.

  Bill

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to