Files
packages/extra/yasm/0003-remove-date-version-strings.patch
T
SFG545 bf96e50e44 Add various packages and patches for build system improvements
- Introduced valgrind with a patch to respect flags and updated its configuration.
- Added Vulkan ICD loader with CMake build configuration.
- Implemented Waf build system with a custom build script and configuration.
- Included Wayland protocols with Meson build system.
- Added xcb-util-keysyms with autotools configuration.
- Introduced Yasm with multiple patches for compatibility and improvements.
- Added Yelp tools and XSL with Meson build configurations and necessary patches for POSIX compliance.
2026-03-22 23:25:50 -05:00

50 lines
1.8 KiB
Diff

From 61e374f24718975e8175f048e70afaaf0c4771a9 Mon Sep 17 00:00:00 2001
From: Ismo Puustinen <ismo.puustinen@intel.com>
Date: Sat, 13 May 2023 07:07:35 +0300
Subject: [PATCH] Remove __DATE__ from version strings (#198)
Having __DATE__ is causing compilation errors when it's defined by Bazel
build tool like this: -D__DATE__=redacted
---
frontends/tasm/tasm.c | 1 -
frontends/vsyasm/vsyasm.c | 1 -
frontends/yasm/yasm.c | 1 -
3 files changed, 3 deletions(-)
diff --git a/frontends/tasm/tasm.c b/frontends/tasm/tasm.c
index 93c11c98f..353f8c582 100644
--- a/frontends/tasm/tasm.c
+++ b/frontends/tasm/tasm.c
@@ -228,7 +228,6 @@ static opt_option options[] =
/* version message */
/*@observer@*/ static const char *version_msg[] = {
PACKAGE_STRING,
- "Compiled on " __DATE__ ".",
"Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.",
"Run yasm --license for licensing overview and summary."
};
diff --git a/frontends/vsyasm/vsyasm.c b/frontends/vsyasm/vsyasm.c
index 892b9b334..b3a5a592b 100644
--- a/frontends/vsyasm/vsyasm.c
+++ b/frontends/vsyasm/vsyasm.c
@@ -220,7 +220,6 @@ static opt_option options[] =
/* version message */
/*@observer@*/ static const char *version_msg[] = {
PACKAGE_STRING,
- "Compiled on " __DATE__ ".",
"Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.",
"Run yasm --license for licensing overview and summary."
};
diff --git a/frontends/yasm/yasm.c b/frontends/yasm/yasm.c
index bc6f379ad..7ac141e69 100644
--- a/frontends/yasm/yasm.c
+++ b/frontends/yasm/yasm.c
@@ -219,7 +219,6 @@ static opt_option options[] =
/* version message */
/*@observer@*/ static const char *version_msg[] = {
PACKAGE_STRING,
- "Compiled on " __DATE__ ".",
"Copyright (c) 2001-2014 Peter Johnson and other Yasm developers.",
"Run yasm --license for licensing overview and summary."
};