pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-generate Patch generate.c to fix warnings on ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/90d3033b1fe0
branches: trunk
changeset: 487072:90d3033b1fe0
user: darcy <darcy%pkgsrc.org@localhost>
date: Sat Jan 08 15:45:23 2005 +0000
description:
Patch generate.c to fix warnings on bulk build on NetBSD 2.0/amd64.
diffstat:
devel/py-generate/distinfo | 3 ++-
devel/py-generate/patches/patch-aa | 22 ++++++++++++++++++++++
2 files changed, 24 insertions(+), 1 deletions(-)
diffs (36 lines):
diff -r 0271fe52d22d -r 90d3033b1fe0 devel/py-generate/distinfo
--- a/devel/py-generate/distinfo Sat Jan 08 15:43:55 2005 +0000
+++ b/devel/py-generate/distinfo Sat Jan 08 15:45:23 2005 +0000
@@ -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 -r 0271fe52d22d -r 90d3033b1fe0 devel/py-generate/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-generate/patches/patch-aa Sat Jan 08 15:45:23 2005 +0000
@@ -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++;
Home |
Main Index |
Thread Index |
Old Index