summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorrillig <rillig>2007-09-29 12:35:11 +0000
committerrillig <rillig>2007-09-29 12:35:11 +0000
commit32eca4c0133a3cf50a4584db8f1c56a3087edc17 (patch)
tree0afe583f793a0b452b94b13cddc361375ac35022 /converters
parent22e07c807d2e7b819a9deb63e19eaf9906a0ea57 (diff)
downloadpkgsrc-32eca4c0133a3cf50a4584db8f1c56a3087edc17.tar.gz
Fixed gcc4 error messages.
Diffstat (limited to 'converters')
-rw-r--r--converters/autoconvert/distinfo3
-rw-r--r--converters/autoconvert/patches/patch-ad15
2 files changed, 17 insertions, 1 deletions
diff --git a/converters/autoconvert/distinfo b/converters/autoconvert/distinfo
index 0b631fc6e25..be66d19db88 100644
--- a/converters/autoconvert/distinfo
+++ b/converters/autoconvert/distinfo
@@ -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 @@ Size (autoconvert-0.3.13.tar.gz) = 464081 bytes
SHA1 (patch-aa) = 803666f4de76422dec546dc56c643abeda43edb1
SHA1 (patch-ab) = f2dc6af133d620e67e414b7f0f1543e47ef794db
SHA1 (patch-ac) = f39bf83874feea530883383acd0c37658bf6d454
+SHA1 (patch-ad) = 7f5fda124a2bf24d972830adc9694322d27317c8
diff --git a/converters/autoconvert/patches/patch-ad b/converters/autoconvert/patches/patch-ad
new file mode 100644
index 00000000000..b3abe3629ed
--- /dev/null
+++ b/converters/autoconvert/patches/patch-ad
@@ -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;