diff options
author | darcy <darcy@pkgsrc.org> | 2005-01-08 15:43:55 +0000 |
---|---|---|
committer | darcy <darcy@pkgsrc.org> | 2005-01-08 15:43:55 +0000 |
commit | 03ccd9fb0ca9002139eae552ced09f3f3aeb0cab (patch) | |
tree | 8870fe13cf08bac1fa4209d31a3a3b21443e812d /devel/generate/patches | |
parent | ca07fc0796572a033f134c45db356023c9da35c8 (diff) | |
download | pkgsrc-03ccd9fb0ca9002139eae552ced09f3f3aeb0cab.tar.gz |
Patch generate.c to remove warning from bulk build on NetBSD 2.0/amd64.
Diffstat (limited to 'devel/generate/patches')
-rw-r--r-- | devel/generate/patches/patch-aa | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/generate/patches/patch-aa b/devel/generate/patches/patch-aa new file mode 100644 index 00000000000..d5805a4c1e8 --- /dev/null +++ b/devel/generate/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.3 2005/01/08 15:43:55 darcy Exp $ + +--- generate.c.orig 2005-01-04 08:15:47.000000000 -0500 ++++ generate.c +@@ -364,7 +364,7 @@ replace_macro(const char *src, char *dst + char lenbuf[2048]; + + replace_macro(buf + 2, lenbuf, pre_param); +- sprintf(dst, "%d", strlen(lenbuf)); ++ sprintf(dst, "%u", strlen(lenbuf)); + continue; + } + +@@ -828,7 +828,7 @@ get_input(FILE * in_fp, int if_flag) + continue; + + p = pp; +- sprintf(cur_line_str, "%d", xline); ++ sprintf(cur_line_str, "%u", xline); + + while (isspace((int) *p)) + p++; |