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 | 45a779a9173129d6a9db36458a667226a13d2398 (patch) | |
tree | 8870fe13cf08bac1fa4209d31a3a3b21443e812d /devel | |
parent | 18184beb53d18c56973950714d0a8baf56e8359d (diff) | |
download | pkgsrc-45a779a9173129d6a9db36458a667226a13d2398.tar.gz |
Patch generate.c to remove warning from bulk build on NetBSD 2.0/amd64.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/generate/distinfo | 3 | ||||
-rw-r--r-- | devel/generate/patches/patch-aa | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/devel/generate/distinfo b/devel/generate/distinfo index d246a273fcb..b04148af882 100644 --- a/devel/generate/distinfo +++ b/devel/generate/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.4 2005/01/04 13:29:08 darcy Exp $ +$NetBSD: distinfo,v 1.5 2005/01/08 15:43:55 darcy Exp $ SHA1 (generate-2.2.tgz) = fbd17b29226f683edc80f96b660c3e74fbec05c9 Size (generate-2.2.tgz) = 28661 bytes +SHA1 (patch-aa) = 5f371ec67af9cca7f4ba8858ad135cad2e42ea5f 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++; |