summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-11-07 12:28:59 +0000
committerrillig <rillig@pkgsrc.org>2007-11-07 12:28:59 +0000
commit96082ff64b7b20d3395ae41a2eb2681284fe6027 (patch)
tree8c651c5b9457ee02d1c79833ebb5f5c52d7fdcc9
parent0522f0e913dd6cfb377799bfecdae9fb689e82bd (diff)
downloadpkgsrc-96082ff64b7b20d3395ae41a2eb2681284fe6027.tar.gz
Fixed gcc4 error messages.
-rw-r--r--devel/xdelta/distinfo4
-rw-r--r--devel/xdelta/patches/patch-ab15
-rw-r--r--devel/xdelta/patches/patch-ac15
3 files changed, 33 insertions, 1 deletions
diff --git a/devel/xdelta/distinfo b/devel/xdelta/distinfo
index d104145f17f..954ba133016 100644
--- a/devel/xdelta/distinfo
+++ b/devel/xdelta/distinfo
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 22:24:35 agc Exp $
+$NetBSD: distinfo,v 1.6 2007/11/07 12:28:59 rillig Exp $
SHA1 (xdelta-1.1.1.tar.gz) = 47dd23ab2ffbe3effa47889148905bd5f7dd0b67
RMD160 (xdelta-1.1.1.tar.gz) = ae49badb09ea27634aba1812e56a242978fd7858
Size (xdelta-1.1.1.tar.gz) = 295398 bytes
SHA1 (patch-aa) = fa412dd5111f630f76aa6daa39483a00b689d2cd
+SHA1 (patch-ab) = 342dcb9229e62a0239459e2c3d4419409ba58137
+SHA1 (patch-ac) = 5909069f4a4397fd696f6041d50ca63198cf3ddb
diff --git a/devel/xdelta/patches/patch-ab b/devel/xdelta/patches/patch-ab
new file mode 100644
index 00000000000..7ac75ccc020
--- /dev/null
+++ b/devel/xdelta/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1 2007/11/07 12:28:59 rillig Exp $
+
+default.c:297: error: invalid lvalue in assignment
+
+--- libedsio/default.c.orig 1999-04-01 12:15:30.000000000 +0200
++++ libedsio/default.c 2007-11-07 13:25:06.000000000 +0100
+@@ -294,7 +294,7 @@ serializeio_source_alloc (SerialSource*
+
+ source->alloc_buf = source->alloc_buf_orig;
+
+- ALIGN_8 ((long)source->alloc_buf);
++ ALIGN_8 (*(long*)&source->alloc_buf);
+ }
+
+ if (len+source->alloc_pos > source->alloc_total)
diff --git a/devel/xdelta/patches/patch-ac b/devel/xdelta/patches/patch-ac
new file mode 100644
index 00000000000..14c0002b99f
--- /dev/null
+++ b/devel/xdelta/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1 2007/11/07 12:28:59 rillig Exp $
+
+xdmain.c:1390: error: static declaration of 'xd_handle_table' follows non-static declaration
+
+--- xdmain.c.orig 1999-04-10 02:56:00.000000000 +0200
++++ xdmain.c 2007-11-07 13:26:28.000000000 +0100
+@@ -49,7 +49,7 @@
+
+ #include "xdelta.h"
+
+-extern HandleFuncTable xd_handle_table;
++static HandleFuncTable xd_handle_table;
+
+ #define XD_PAGE_SIZE (1<<20)
+