File: dependencies.patch

package info (click to toggle)
sxiv 26-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 388 kB
  • sloc: ansic: 3,840; makefile: 87; awk: 30; sh: 25
file content (15 lines) | stat: -rw-r--r-- 479 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Fix FTCBFS: uses the wrong compiler.
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922939
Author: Helmut Grohne <helmut@subdivi.de>
Last-Update: 2019-02-22
--- a/Makefile
+++ b/Makefile
@@ -53,7 +53,7 @@
 	@echo "GEN $@"
 	cp $(srcdir)/config.def.h $@
 
-version.h: Makefile .git/index
+version.h: Makefile $(wildcard .git/index)
 	@echo "GEN $@"
 	v="$$(cd $(srcdir); git describe 2>/dev/null)"; \
 	echo "#define VERSION \"$${v:-$(version)}\"" >$@