Debian Codegraph @

debian/patches/dont-use-bundled-getopt.diff

raw symbols SCIP
1 Description: Don't use bundled getopt.c and getopt.h
2 Author: Stefan Kangas <[email protected]>
3 Forwarded: not-needed
4
5 --- a/Makefile
6 +++ b/Makefile
7 @@ -42,7 +42,7 @@
8 fastmint_altivec_compact_2.o fastmint_ansi_ultracompact_1.o \
9 fastmint_library.o
10 OBJS = libsha1.o libhc.o sdb.o lock.o utct.o random.o sstring.o \
11 - getopt.o $(FASTLIBS)
12 + $(FASTLIBS)
13 LIBOBJS = libhc.o libsha1.o utct.o sdb.o lock.o sstring.o random.o $(FASTLIBS)
14 EXEOBJS = hashcash.o
15
16 @@ -113,8 +113,8 @@
17
18 build-dll: hashcash-dll$(EXE) sha1$(EXE)
19
20 -hashcash$(EXE): hashcash.o getopt.o libhashcash$(LIB)
21 - $(CC) hashcash.o getopt.o libhashcash$(LIB) -o $@ $(LDFLAGS)
22 +hashcash$(EXE): hashcash.o libhashcash$(LIB)
23 + $(CC) hashcash.o libhashcash$(LIB) -o $@ $(LDFLAGS)
24
25 sha1$(EXE): sha1.o libsha1.o
26 $(CC) sha1.o libsha1.o -o $@ $(LDFLAGS)
27 @@ -205,7 +205,7 @@
28 fastmint_mmx_compact_1.o: libfastmint.h hashcash.h
29 fastmint_mmx_standard_1.o: libfastmint.h hashcash.h
30 getopt.o: getopt.h
31 -hashcash.o: sdb.h utct.h random.h hashcash.h libfastmint.h sstring.h getopt.h
32 +hashcash.o: sdb.h utct.h random.h hashcash.h libfastmint.h sstring.h
33 hashcash.o: sha1.h types.h
34 libfastmint.o: random.h sha1.h types.h libfastmint.h hashcash.h
35 libhc.o: hashcash.h utct.h libfastmint.h sha1.h types.h random.h sstring.h
36 --- a/hashcash.c
37 +++ b/hashcash.c
38 @@ -33,7 +33,7 @@
39 #include "hashcash.h"
40 #include "libfastmint.h"
41 #include "sstring.h"
42 -#include "getopt.h"
43 +#include <getopt.h>
44
45 #if defined( OPENSSL )
46 #include <openssl/sha.h>