File: git-version.diff

package info (click to toggle)
genesisplusgx 1.7.4%2Bgit20260226-2
  • links: PTS, VCS
  • area: non-free
  • in suites: sid
  • size: 18,612 kB
  • sloc: ansic: 115,097; makefile: 244; xml: 170; sh: 2
file content (14 lines) | stat: -rw-r--r-- 358 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Patch Git snapshot date into version
Origin: vendor
Forwarded: not-needed
--- a/Makefile.libretro
+++ b/Makefile.libretro
@@ -43,7 +43,7 @@
 
 LIBS := -lm
 
-GIT_VERSION ?= " $(shell git rev-parse --short HEAD || echo unknown)"
+GIT_VERSION ?= " 20260226"
 ifneq ($(GIT_VERSION)," unknown")
    CFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
 endif