]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1805: Amiga: Missing build date in version string v9.1.1805
authorOla Söder <rolfkopman@gmail.com>
Sun, 28 Sep 2025 17:58:44 +0000 (17:58 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 28 Sep 2025 17:58:44 +0000 (17:58 +0000)
Problem:  Amiga: Missing build date in version string
Solution: Set build date in CFLAGS in Makefile (Ola Söder)

closes: #18418

Signed-off-by: Ola Söder <rolfkopman@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/Make_ami.mak
src/version.c

index 839c6faa49ab4ad93a46d75f36924e0b9261c3d4..05b731755e48860ae31c587687ae9dfa13fb2d50 100644 (file)
@@ -71,6 +71,11 @@ ifdef PATCHLEVEL
 CFLAGS += -DPATCHLEVEL=\"$(PATCHLEVEL)\"
 endif
 
+# Build date used for Amiga style version string
+ifdef BUILDDATE
+CFLAGS += -DBUILDDATE=\"$(BUILDDATE)\"
+endif
+
 # Common sources
 SRC += \
        alloc.c \
index b25bb95a2bd7320b3dd71c1003e5d11a6aec5eef..69719388d2e04efb4354fc26aaf7c9faf7a29ba3 100644 (file)
@@ -729,6 +729,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1805,
 /**/
     1804,
 /**/