delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/10/24/10:21:00

From: parkerrd AT hotmail DOT com (Ron Parker)
Subject: Patch for building B20alpha4
24 Oct 1998 10:21:00 -0700 :
Message-ID: <19981024163022.17241.qmail.cygnus.cygwin32.developers@hotmail.com>
To: cygwin32-developers AT cygnus DOT com

--====================987654321_0==_
Content-Type: text/plain; charset="us-ascii"

If one attempts to build the latest alpha from just the source that is 
bundled in the bz2 files, the build will fail attempting to make 
version.cc in winsup.

More specifically, if the code was extracted from the archive into an 
empty directory, there will be an error looking for CVS information.  
This would not occur if the archive was extracted over an extant 
directory that contained CVS directories or if the code was gotten out 
of CVS.

A patch is attached that addresses this.

P.S. Geoff could you add me to the mailing list?

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


--====================987654321_0==_
Content-Type: text/plain; name="mkvers.sh.diff"
Content-Disposition: attachment; filename="mkvers.sh.diff"

--- winsup/mkvers.sh.orig	Sat Oct 24 07:42:47 1998
+++ winsup/mkvers.sh	Sat Oct 24 07:51:22 1998
@@ -29,7 +29,7 @@
 #
 # Set date into YYYY-MM-DD HH:MM:SS format
 #
-builddate="$6-$m-$3 $4"
+builddate="$5-$m-$3 $4"
 
 set -$- ''
 
@@ -59,10 +59,12 @@
 # the current build.  Save that for output later.
 #
 cvs_tag=
-if read tag < "$dir/CVS/Tag" 2>/dev/null; then
-    cvs_tag=" CVS tag
-`expr $tag : '.\(.*\)'`"
-fi 2>/dev/null
+if test -f "$dir/CVS/Tag"; then
+    if read tag < "$dir/CVS/Tag" 2>/dev/null; then
+        cvs_tag=" CVS tag
+    `expr $tag : '.\(.*\)'`"
+    fi 2>/dev/null
+fi
 
 #
 # Scan the version.h file for strings that begin with CYGWIN_INFO or

--====================987654321_0==_
Content-Type: text/plain; charset="us-ascii"

--====================987654321_0==_--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019