summaryrefslogtreecommitdiff
path: root/shells/rc
diff options
context:
space:
mode:
authorjoerg <joerg>2006-01-08 20:55:46 +0000
committerjoerg <joerg>2006-01-08 20:55:46 +0000
commitdf94e6efb94ce325ee3dce3ac9180e001fc663d5 (patch)
tree3367eec35563ae43e773adb7cd7370831fc7cd64 /shells/rc
parenta7fa96db3f58f031864ee57ec704e7efbe195f08 (diff)
downloadpkgsrc-df94e6efb94ce325ee3dce3ac9180e001fc663d5.tar.gz
short gets promoted to int according to ISO C rules, so use int for
va_arg instead of short.
Diffstat (limited to 'shells/rc')
-rw-r--r--shells/rc/distinfo3
-rw-r--r--shells/rc/patches/patch-ab13
2 files changed, 15 insertions, 1 deletions
diff --git a/shells/rc/distinfo b/shells/rc/distinfo
index e931e27db79..d90911e7951 100644
--- a/shells/rc/distinfo
+++ b/shells/rc/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 13:14:41 agc Exp $
+$NetBSD: distinfo,v 1.4 2006/01/08 20:55:46 joerg Exp $
SHA1 (rc-1.6.tar.gz) = e223c5f3a34aa836034cc033751c276ff05fcc8e
RMD160 (rc-1.6.tar.gz) = 766453e1d55f44de94c690959aee1dc8d8a77365
Size (rc-1.6.tar.gz) = 139914 bytes
SHA1 (patch-aa) = ec47fa81ba6061318ddb1c2f59ba9495b7f906ae
+SHA1 (patch-ab) = 44d1f2e7addf8047ee37d1ac0c045e087c93e7c2
diff --git a/shells/rc/patches/patch-ab b/shells/rc/patches/patch-ab
new file mode 100644
index 00000000000..ece255c152f
--- /dev/null
+++ b/shells/rc/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.3 2006/01/08 20:56:07 joerg Exp $
+
+--- print.c.orig 2006-01-08 20:54:47.000000000 +0000
++++ print.c
+@@ -104,7 +104,7 @@ static void intconv(Format *format, unsi
+ if (flags & FMT_long)
+ n = va_arg(format->args, long);
+ else if (flags & FMT_short)
+- n = va_arg(format->args, short);
++ n = va_arg(format->args, int);
+ else
+ n = va_arg(format->args, int);
+