Merge pull request #17303 from CarlosDerSeher/feature_bt_agent
[feed/packages.git] / utils / mktorrent / patches / 010-format.patch
1 --- a/GNUmakefile
2 +++ b/GNUmakefile
3 @@ -61,6 +61,6 @@ OBJS = $(SRCS:.c=.o)
4 all: $(program)
5
6 %.o: %.c $(HEADERS) prefix
7 - $(CC) $(CFLAGS) $(DEFINES) -DPRIoff="\"$(OFFPRFX)d\"" -DVERSION="\"$(version)\"" -c $<
8 + $(CC) $(CFLAGS) $(DEFINES) -DPRIoff="PRId64 \"d\"" -DVERSION="\"$(version)\"" -c $<
9
10 include rules.mk
11 --- a/init.c
12 +++ b/init.c
13 @@ -25,6 +25,7 @@ Foundation, Inc., 51 Franklin Street, Fi
14 #include <sys/stat.h> /* the stat structure */
15 #include <unistd.h> /* getopt(), getcwd(), sysconf() */
16 #include <string.h> /* strcmp(), strlen(), strncpy() */
17 +#include <inttypes.h>
18 #ifdef USE_LONG_OPTIONS
19 #include <getopt.h> /* getopt_long() */
20 #endif