Package: oasis3 / 3.mct+dfsg.121022-13

reproducible.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Author:  Reiner Herrmann 
Bug-Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807818
Description: Make builds reproducible
Last-Updated: 2016-01-05
Forwarded: no

Index: oasis3-3.mct+dfsg.121022/lib/psmile/src/Makefile
===================================================================
--- oasis3-3.mct+dfsg.121022.orig/lib/psmile/src/Makefile
+++ oasis3-3.mct+dfsg.121022/lib/psmile/src/Makefile
@@ -1,5 +1,5 @@
 
-SRCS1	= $(shell ls $(COUPLE)/lib/psmile/src/*.F90)
+SRCS1	= $(shell LC_ALL=C ls $(COUPLE)/lib/psmile/src/*.F90)
 OBJS1	= $(patsubst $(COUPLE)/lib/psmile/src/%.F90, %.o, $(SRCS1))
 PIC_OBJS1	= $(patsubst $(COUPLE)/lib/psmile/src/%.F90, %.o.pic, $(SRCS1))
 
Index: oasis3-3.mct+dfsg.121022/lib/scrip/src/Makefile
===================================================================
--- oasis3-3.mct+dfsg.121022.orig/lib/scrip/src/Makefile
+++ oasis3-3.mct+dfsg.121022/lib/scrip/src/Makefile
@@ -1,13 +1,13 @@
 
-SRCS1 =  $(shell ls $(COUPLE)/lib/scrip/src/*.F90)
+SRCS1 =  $(shell LC_ALL=C ls $(COUPLE)/lib/scrip/src/*.F90)
 OBJS1 =  $(patsubst $(COUPLE)/lib/scrip/src/%.F90, %.o, $(SRCS1))
 POBJS1 =  $(patsubst $(COUPLE)/lib/scrip/src/%.F90, %.o.pic, $(SRCS1))
 
-SRCS3   = $(shell ls $(COUPLE)/lib/scrip/src/*.F)
+SRCS3   = $(shell LC_ALL=C ls $(COUPLE)/lib/scrip/src/*.F)
 OBJS3   = $(patsubst $(COUPLE)/lib/scrip/src/%.F, %.o, $(SRCS3))
 POBJS3   = $(patsubst $(COUPLE)/lib/scrip/src/%.F, %.o.pic, $(SRCS3))
 
-SRCS4 =  $(shell ls $(COUPLE)/lib/scrip/src/*.f)
+SRCS4 =  $(shell LC_ALL=C ls $(COUPLE)/lib/scrip/src/*.f)
 OBJS4 =  $(patsubst $(COUPLE)/lib/scrip/src/%.f, %.o, $(SRCS4))
 POBJS4 =  $(patsubst $(COUPLE)/lib/scrip/src/%.f, %.o.pic, $(SRCS4))