File: reproducible-build.patch

package info (click to toggle)
kball 0.0.20041216-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,992 kB
  • sloc: cpp: 4,276; makefile: 65; sh: 64; ansic: 43
file content (22 lines) | stat: -rw-r--r-- 696 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
22
From: Reiner Herrmann <reiner@reiner-h.de>
Date: Thu, 2 Jun 2016 06:21:22 +0200
Subject: reproducible-build

Debian-Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825588
---
 makefile.all | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/makefile.all b/makefile.all
index c1b8ae9..5b88d7c 100644
--- a/makefile.all
+++ b/makefile.all
@@ -2,7 +2,7 @@
 # Thanks to Schwarzung for help.
 # Copyright (c) 2003-2005, Kronoman
 
-TEMP = $(wildcard $(SRCDIR)/*$(SRCSUF))
+TEMP = $(sort $(wildcard $(SRCDIR)/*$(SRCSUF)))
 FILES = $(if $(TEMP), $(TEMP), $(error No source code found!))
 OBJS = $(addprefix $(OBJDIR)/,$(addsuffix $(OBJSUF), $(basename $(notdir $(FILES) ) ) ) )