pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/converters/autoconvert Fixed gcc4 error messages.
details: https://anonhg.NetBSD.org/pkgsrc/rev/4017e5bf7342
branches: trunk
changeset: 533764:4017e5bf7342
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat Sep 29 12:35:11 2007 +0000
description:
Fixed gcc4 error messages.
diffstat:
converters/autoconvert/distinfo | 3 ++-
converters/autoconvert/patches/patch-ad | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r 6380c3f0d549 -r 4017e5bf7342 converters/autoconvert/distinfo
--- a/converters/autoconvert/distinfo Sat Sep 29 12:32:22 2007 +0000
+++ b/converters/autoconvert/distinfo Sat Sep 29 12:35:11 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 16:12:33 agc Exp $
+$NetBSD: distinfo,v 1.4 2007/09/29 12:35:11 rillig Exp $
SHA1 (autoconvert-0.3.13.tar.gz) = cc59899e46ccfaacdb39f7a73767780b721ab75d
RMD160 (autoconvert-0.3.13.tar.gz) = b429b82f6aa4086edd745baf18d5f8ba48821d23
@@ -6,3 +6,4 @@
SHA1 (patch-aa) = 803666f4de76422dec546dc56c643abeda43edb1
SHA1 (patch-ab) = f2dc6af133d620e67e414b7f0f1543e47ef794db
SHA1 (patch-ac) = f39bf83874feea530883383acd0c37658bf6d454
+SHA1 (patch-ad) = 7f5fda124a2bf24d972830adc9694322d27317c8
diff -r 6380c3f0d549 -r 4017e5bf7342 converters/autoconvert/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/autoconvert/patches/patch-ad Sat Sep 29 12:35:11 2007 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.1 2007/09/29 12:35:11 rillig Exp $
+
+Since gcc 4, type casts result in rvalues.
+
+--- hzconvert/b2u.c.orig 2001-04-28 03:45:46.000000000 +0200
++++ hzconvert/b2u.c 2007-09-29 14:33:27.000000000 +0200
+@@ -32,7 +32,7 @@ extern unsigned char BtoU[], UtoB[];
+ extern int BtoU_count, UtoB_count;
+
+ #define c1 (unsigned char)(s[0])
+-#define c2 (unsigned char)(s[1])
++#define c2 *((unsigned char *)(&s[1]))
+
+ static void b2u(s, t)
+ register char *s, *t;
Home |
Main Index |
Thread Index |
Old Index