Debian Codegraph @

debian/patches/use-shared-libs

raw
1 Description: Use shared libs
2 Subject: use-shared-libs
3 From: Debian Med Packaging Team <[email protected]>
4 Forwarded: not-needed
5 ---
6 kmer_counter/fastq_reader.h | 8 ++++----
7 makefile | 8 ++------
8 2 files changed, 6 insertions(+), 10 deletions(-)
9
10 --- kmc.orig/kmc_tools/fastq_reader.h
11 +++ kmc/kmc_tools/fastq_reader.h
12 @@ -17,7 +17,7 @@
13 #include <stdio.h>
14 #include <iostream>
15
16 -#include "../3rd_party/cloudflare/zlib.h"
17 +#include <zlib.h>
18
19 using namespace std;
20
21 @@ -88,4 +88,4 @@
22
23 #endif
24
25 -// ***** EOF
26 \ No newline at end of file
27 +// ***** EOF
28 --- kmc.orig/Makefile
29 +++ kmc/Makefile
30 @@ -113,7 +113,6 @@
31 endif
32 endif
33
34 -LIB_ZLIB=3rd_party/cloudflare/libz.a
35 LIB_KMC_CORE = $(OUT_BIN_DIR)/libkmc_core.a
36
37
38 @@ -142,8 +141,6 @@
39 $(KMC_TOOLS_DIR)/percent_progress.o \
40 $(KMC_TOOLS_DIR)/kff_info_reader.o
41
42 -$(LIB_ZLIB):
43 - cd 3rd_party/cloudflare; ./configure; make libz.a
44
45 $(KMC_CLI_OBJS) $(KMC_CORE_OBJS) $(KMC_DUMP_OBJS) $(KMC_API_OBJS) $(KFF_OBJS) $(KMC_TOOLS_OBJS): %.o: %.cpp
46 $(CC) $(CFLAGS) -I 3rd_party/cloudflare -c $< -o $@
47 --- kmc.orig/kmc_core/fastq_reader.h
48 +++ kmc/kmc_core/fastq_reader.h
49 @@ -15,7 +15,7 @@
50 #include "params.h"
51 #include <stdio.h>
52
53 -#include "../3rd_party/cloudflare/zlib.h"
54 +#include <zlib.h>
55
56 using namespace std;
57