forked from pool/unzip
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
This commit is contained in:
parent
153d3e816c
commit
d760f48241
82
unzip-no-build-date.patch
Normal file
82
unzip-no-build-date.patch
Normal file
@ -0,0 +1,82 @@
|
|||||||
|
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__
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 30 19:44:17 UTC 2010 - cristian.rodriguez@opensuse.org
|
||||||
|
|
||||||
|
- Do not include build host specific info like build dates In
|
||||||
|
binaries.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jun 25 18:21:34 CEST 2010 - pth@suse.de
|
Fri Jun 25 18:21:34 CEST 2010 - pth@suse.de
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@ Patch4: unzip-5.52-filename_too_long.patch
|
|||||||
Patch5: unzip-no_file_name_translation.patch
|
Patch5: unzip-no_file_name_translation.patch
|
||||||
Patch8: unzip-open_missing_mode.patch
|
Patch8: unzip-open_missing_mode.patch
|
||||||
Patch10: unzip-5.52-use_librcc.patch
|
Patch10: unzip-5.52-use_librcc.patch
|
||||||
|
Patch11: unzip-no-build-date.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: librcc-devel
|
BuildRequires: librcc-devel
|
||||||
|
|
||||||
@ -61,7 +62,7 @@ Authors:
|
|||||||
%patch5
|
%patch5
|
||||||
%patch8
|
%patch8
|
||||||
%patch10
|
%patch10
|
||||||
|
%patch11
|
||||||
%build
|
%build
|
||||||
export RPM_OPT_FLAGS="%optflags -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -fstack-protector -I."
|
export RPM_OPT_FLAGS="%optflags -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -fstack-protector -I."
|
||||||
make %{?jobs:-j%jobs} -f unix/Makefile LF2=-lrcc linux_noasm
|
make %{?jobs:-j%jobs} -f unix/Makefile LF2=-lrcc linux_noasm
|
||||||
|
Loading…
Reference in New Issue
Block a user