File: 40_reproducible.patch

package info (click to toggle)
dmucs 0.6.1-3
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 3,220 kB
  • sloc: ansic: 5,053; sh: 3,557; cpp: 2,472; makefile: 63; perl: 26
file content (29 lines) | stat: -rw-r--r-- 769 bytes parent folder | download | duplicates (2)
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
Description: Make build reproducible
   * Added Recommends on distcc (Closes: #663068).
   * Make build reproducible (Closes: #839647).
Author: Reiner Herrmann <reiner@reiner-h.de>
Bug-Debian: https://bugs.debian.org/839647
Forwarded: no
Reviewed-By: Petter Reinholdtsen <pere@debian.org>
Last-Update: 2017-10-18

--- dmucs-0.6.1.orig/COSMIC/Makefile
+++ dmucs-0.6.1/COSMIC/Makefile
@@ -49,7 +49,7 @@ LIB       = simpleskts.a
 EXETGT=../EXE
 
 # usual compiler stuff
-CFLAGS    = -O -I./HDR
+CFLAGS    += -O -I./HDR
 LOADLIBES = ../$(LIB)
 
 # for SCO UNIX:
@@ -65,7 +65,7 @@ LOADLIBES = ../$(LIB)
 all     : $(LIB)
 
 $(LIB)  : $(OBJ)
-	ar r simpleskts.a *.o
+	ar r simpleskts.a $(OBJ)
 #	ranlib simpleskts.a
 #	/bin/rm -f *.o
 	@echo "finished updating simpleskts.a"