diff options
author | darcy <darcy@pkgsrc.org> | 2005-01-08 15:45:23 +0000 |
---|---|---|
committer | darcy <darcy@pkgsrc.org> | 2005-01-08 15:45:23 +0000 |
commit | a71c584cfabe487dbeb4e452805632a584fd4a61 (patch) | |
tree | 65834922855402668a35de4ea881834ce76a6f82 /devel/py-generate | |
parent | 45a779a9173129d6a9db36458a667226a13d2398 (diff) | |
download | pkgsrc-a71c584cfabe487dbeb4e452805632a584fd4a61.tar.gz |
Patch generate.c to fix warnings on bulk build on NetBSD 2.0/amd64.
Diffstat (limited to 'devel/py-generate')
-rw-r--r-- | devel/py-generate/distinfo | 3 | ||||
-rw-r--r-- | devel/py-generate/patches/patch-aa | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/devel/py-generate/distinfo b/devel/py-generate/distinfo index db142a5faef..16da372c2e0 100644 --- a/devel/py-generate/distinfo +++ b/devel/py-generate/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.3 2005/01/04 13:29:54 darcy Exp $ +$NetBSD: distinfo,v 1.4 2005/01/08 15:45:23 darcy Exp $ SHA1 (generate-2.2.tgz) = fbd17b29226f683edc80f96b660c3e74fbec05c9 Size (generate-2.2.tgz) = 28661 bytes +SHA1 (patch-aa) = 5f371ec67af9cca7f4ba8858ad135cad2e42ea5f diff --git a/devel/py-generate/patches/patch-aa b/devel/py-generate/patches/patch-aa new file mode 100644 index 00000000000..671414de421 --- /dev/null +++ b/devel/py-generate/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1 2005/01/08 15:45:24 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++; |