Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
socat
socat-remove_date.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File socat-remove_date.patch of Package socat
From: Pascal Bleser <pascal.bleser@opensuse.org> Date: Sun, 02 Feb 2014 10:09:04 +0000 Subject: [PATCH] Remove __DATE__ and __TIME__ macros to avoid unneccessary rebuilds References: Upstream: no remove __DATE__ and __TIME__ macros to avoid unneccessary rebuilds fixes W: file-contains-date-and-time --- socat.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) Index: socat-1.7.2.3/socat.c =================================================================== --- socat-1.7.2.3.orig/socat.c 2011-12-06 07:44:41.000000000 +0000 +++ socat-1.7.2.3/socat.c 2014-03-03 19:31:00.000000000 +0000 @@ -70,8 +70,6 @@ static int socat_newchild(void); static const char socatversion[] = #include "./VERSION" ; -static const char timestamp[] = __DATE__" "__TIME__; - const char copyright_socat[] = "socat by Gerhard Rieger - see www.dest-unreach.org"; #if WITH_OPENSSL const char copyright_openssl[] = "This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. (http://www.openssl.org/)"; @@ -273,7 +271,7 @@ int main(int argc, const char *argv[]) { Info(copyright_openssl); Info(copyright_ssleay); #endif - Debug2("socat version %s on %s", socatversion, timestamp); + Debug1("socat version %s", socatversion); xiosetenv("VERSION", socatversion, 1); /* SOCAT_VERSION */ uname(&ubuf); /* ! here we circumvent internal tracing (Uname) */ Debug4("running on %s version %s, release %s, machine %s\n", @@ -363,7 +361,7 @@ void socat_version(FILE *fd) { struct utsname ubuf; fputs(copyright_socat, fd); fputc('\n', fd); - fprintf(fd, "socat version %s on %s\n", socatversion, timestamp); + fprintf(fd, "socat version %s\n", socatversion); Uname(&ubuf); fprintf(fd, " running on %s version %s, release %s, machine %s\n", ubuf.sysname, ubuf.version, ubuf.release, ubuf.machine);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor