SHA256
1
0
forked from pool/unzip
unzip/unzip-no-build-date.patch
Cristian Rodríguez d760f48241 Accepting request 46708 from home:elvigia:branches:Archiving
Copy from home:elvigia:branches:Archiving/unzip via accept of submit request 46708 revision 2.
Request was accepted with message:

OBS-URL: https://build.opensuse.org/request/show/46708
OBS-URL: https://build.opensuse.org/package/show/Archiving/unzip?expand=0&rev=11
2010-08-30 20:30:03 +00:00

83 lines
2.2 KiB
Diff

Index: cmsmvs/vmmvs.c
===================================================================
--- cmsmvs/vmmvs.c.orig 2005-01-26 23:03:28.000000000 -0300
+++ cmsmvs/vmmvs.c 2010-08-30 14:15:34.271732500 -0400
@@ -664,14 +664,6 @@ void version(__G)
/* Add compile environment */
platform,
-
- /* Add timestamp */
-#ifdef __DATE__
- " on " __DATE__
-#ifdef __TIME__
- " at " __TIME__
-#endif
-#endif
".\n", "",
liblvlmsg
);
Index: macos/source/sxunzip.c
===================================================================
--- macos/source/sxunzip.c.orig 2001-02-09 21:55:34.000000000 -0300
+++ macos/source/sxunzip.c 2010-08-30 14:18:39.555731949 -0400
@@ -123,7 +123,7 @@ static char UnZipVersionLocal[50];
memset(UnZipVersionLocal,0,sizeof(UnZipVersionLocal));
-sprintf(UnZipVersionLocal, "[%s %s]", __DATE__, __TIME__);
+sprintf(UnZipVersionLocal, "[Unknown]");
return UnZipVersionLocal;
}
Index: macos/source/macos.c
===================================================================
--- macos/source/macos.c.orig 2007-12-23 14:15:36.000000000 -0300
+++ macos/source/macos.c 2010-08-30 14:29:28.405735321 -0400
@@ -937,14 +937,11 @@ void version(__G)
ZCONST char Far CompiledWith[] =
"Compiled with %s%s for %s%s%s%s.\n\n"; */
-char DateTime[50];
-
#ifdef __MWERKS__
char CompVer[10];
sprintf(CompVer, "%x", __MWERKS__);
#endif
- sprintf(DateTime,"%s %s",__DATE__, __TIME__);
sprintf((char *)slide, LoadFarString(CompiledWith),
@@ -960,13 +957,7 @@ sprintf(CompVer, "%x", __MWERKS__);
#else
" PowerPC Processor",
#endif
-
-#ifdef __DATE__
-
- "\n compile time: ", DateTime, ""
-#else
"", "", ""
-#endif
);
(*G.message)((zvoid *)&G, slide, (ulg)strlen((char *)slide), 0);
Index: amiga/amiga.c
===================================================================
--- amiga/amiga.c.orig 2007-12-23 12:52:22.000000000 -0300
+++ amiga/amiga.c 2010-08-30 14:30:10.528753108 -0400
@@ -1002,12 +1002,7 @@ void version(__G)
sprintf(buf2,"unknown version");
# endif
#endif
-
-#ifdef __DATE__
- sprintf(buf4," on %s",__DATE__);
-#else
strcpy(buf4," unknown date");
-#endif
/******
#ifdef __TIME__