summaryrefslogtreecommitdiff
path: root/devel/generate/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'devel/generate/patches/patch-aa')
-rw-r--r--devel/generate/patches/patch-aa22
1 files changed, 0 insertions, 22 deletions
diff --git a/devel/generate/patches/patch-aa b/devel/generate/patches/patch-aa
deleted file mode 100644
index 81afd90c3a5..00000000000
--- a/devel/generate/patches/patch-aa
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-aa,v 1.4 2005/01/12 10:55:36 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, "%lu", (unsigned long) 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, "%lu", (unsigned long) xline);
-
- while (isspace((int) *p))
- p++;