| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 
 | From: Santiago Vila <sanvila@debian.org>
Subject: Do not define or use the build date
--- a/util/makedefs.c
+++ b/util/makedefs.c
@@ -167,7 +167,7 @@
 
 static void NDECL(make_version);
 static char *FDECL(version_string, (char *));
-static char *FDECL(version_id_string, (char *,const char *));
+static char *FDECL(version_id_string, (char *));
 static char *FDECL(xcrypt, (const char *));
 static int FDECL(check_control, (char *));
 static char *FDECL(without_control, (char *));
@@ -524,9 +524,8 @@
 }
 
 static char *
-version_id_string(outbuf, build_date)
+version_id_string(outbuf)
 char *outbuf;
-const char *build_date;
 {
     char subbuf[64], versbuf[64];
 
@@ -539,8 +538,8 @@
     Strcat(subbuf, " Beta");
 #endif
 
-    Sprintf(outbuf, "%s NetHack%s Version %s - last build %s.",
-	    PORT_ID, subbuf, version_string(versbuf), build_date);
+    Sprintf(outbuf, "%s NetHack%s Version %s.",
+	    PORT_ID, subbuf, version_string(versbuf));
     return outbuf;
 }
 
@@ -572,8 +571,6 @@
 #endif
 	for (c = cbuf; *c; c++) if (*c == '\n') break;
 	*c = '\0';	/* strip off the '\n' */
-	Fprintf(ofp,"#define BUILD_DATE \"%s\"\n", cbuf);
-	Fprintf(ofp,"#define BUILD_TIME (%ldL)\n", clocktim);
 	Fprintf(ofp,"\n");
 #ifdef NHSTDC
 	ul_sfx = "UL";
@@ -595,7 +592,7 @@
 	Fprintf(ofp,"\n");
 	Fprintf(ofp,"#define VERSION_STRING \"%s\"\n", version_string(buf));
 	Fprintf(ofp,"#define VERSION_ID \\\n \"%s\"\n",
-		version_id_string(buf, cbuf));
+		version_id_string(buf));
 	Fprintf(ofp,"\n");
 #ifdef AMIGA
 	{
 |