File: 81_hacks_deterministic_file_order.patch

package info (click to toggle)
xscreensaver 6.09%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 63,848 kB
  • sloc: ansic: 503,539; xml: 10,207; makefile: 10,016; perl: 7,146; sh: 4,316; asm: 3,513; objc: 3,359
file content (21 lines) | stat: -rw-r--r-- 871 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Allow reproducible builds
Forwarded: not-needed
Origin: vendor, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819595#5
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819595
Author: Sascha Steinbiss <sascha@steinbiss.name>

Index: xscreensaver-git/hacks/Makefile.in
===================================================================
--- xscreensaver-git.orig/hacks/Makefile.in
+++ xscreensaver-git/hacks/Makefile.in
@@ -856,8 +856,8 @@ cwaves:		cwaves.o	$(HACK_OBJS) $(COL)
 
 m6502.h:
 	@echo "building m6502.h from $(srcdir)/images/m6502/*.asm"; \
-	UTILS_SRC="$(UTILS_SRC)" \
-	$(srcdir)/m6502.sh m6502.h $(srcdir)/images/m6502/*.asm
+	find $(srcdir)/images/m6502/ -name '*.asm' | LC_ALL=C sort | \
+	  UTILS_SRC="$(UTILS_SRC)" xargs $(srcdir)/m6502.sh m6502.h
 
 m6502.o:	m6502.h
 m6502:		m6502.o		asm6502.o $(HACK_OBJS) $(ATV) $(PNG)