aboutsummaryrefslogtreecommitdiff
path: root/mail/qmail-dk/files/patch-Makefile
blob: bf6cea8614de6b5653f4fe527fcde59920d7cebe (plain) (blame)
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
/usr/bin/ld: error: duplicate symbol: scan_ulong
	>>> defined at scan_ulong.c
	>>>            scan_ulong.o:(scan_ulong) in archive fs.a
	>>> defined at scan_ulong.c
	>>>            scan_ulong.o:(.text+0x0)

--- Makefile.orig	2018-07-20 14:10:56 UTC
+++ Makefile
@@ -37,8 +37,8 @@ scan.h fmt.h
 	./compile auto-gid.c
 
 auto-int: \
-load auto-int.o substdio.a error.a str.a fs.a
-	./load auto-int substdio.a error.a str.a fs.a 
+load auto-int.o substdio.a error.a str.a fs.a scan_ulong.o
+	./load auto-int substdio.a error.a str.a fs.a scan_ulong.o
 
 auto-int.o: \
 compile auto-int.c substdio.h readwrite.h exit.h scan.h fmt.h
@@ -609,9 +609,9 @@ strerr.h substdio.h fmt.h
 
 fs.a: \
 makelib fmt_str.o fmt_strn.o fmt_uint.o fmt_uint0.o fmt_ulong.o \
-scan_ulong.o scan_8long.o
+scan_8long.o
 	./makelib fs.a fmt_str.o fmt_strn.o fmt_uint.o fmt_uint0.o \
-	fmt_ulong.o scan_ulong.o scan_8long.o
+	fmt_ulong.o scan_8long.o
 
 getln.a: \
 makelib getln.o getln2.o