mstflint/Remove-date-time-info-from-build.patch
Nicolas Morey-Chaisemartin 7b8dd5aaf7 Accepting request 618879 from home:NMoreyChaisemartin:branches:science:HPC
- Update patches to fit science:HPC worflow
  - Remove old format patches
    - mstflint-4.4.0-implicit-declaration.patch
    - mstflint-4.4.0-no-date-time.patch
    - mstflint-armv6_arch.patch
    - mstflint-armv7_arch.patch
    - mstflint-gcc7.patch
    - mstflint-s390_arch.patch
  - Replaced with new format patches
    - Remove-date-time-info-from-build.patch
    - Add-s390-s390x-support.patch
    - Add-armv6-and-armv7-support.patch
    - Fix-gcc7-and-gcc8.patch
      - Patch was updated to also fix Gcc8 compilation issues
  - Drop obsolete patch
    - mstfint-mtcr_ul_no_static_lib.patch
- Update to v4.9.0-3
  - No release notes available

OBS-URL: https://build.opensuse.org/request/show/618879
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=24
2018-06-25 06:25:36 +00:00

25 lines
979 B
Diff

commit a660f8e5dbc67fefa1b09837d33d986eb1971ec0
Author: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com>
Date: Thu May 18 07:48:13 2017 +0200
Remove date/time info from build
Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com>
diff --git common/tools_version.h common/tools_version.h
index 7fdb366446ce..dd2f5fb8850d 100644
--- common/tools_version.h
+++ common/tools_version.h
@@ -70,10 +70,8 @@ int get_version_string(char* buf, int buf_size, const char* exe_name, const char
len = snprintf(buf, buf_size, "%s %s, ", exe_name, tool_version);
}
// cut out first and last "$" from the SVN version string:
- len += snprintf(buf + len, buf_size - len, "%s, built on %s, %s. Git SHA Hash: %s",
+ len += snprintf(buf + len, buf_size - len, "%s, Git SHA Hash: %s",
MFT_VERSION_STR,
- __DATE__,
- __TIME__,
TOOLS_GIT_SHA);
return len;
}