summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorad <ad@pkgsrc.org>2003-12-09 19:41:26 +0000
committerad <ad@pkgsrc.org>2003-12-09 19:41:26 +0000
commitdc74a005a90db0c3d3e62a76f74a0b4a1829d7fe (patch)
tree2e3017446962c365ad3ed09bedded42d492146ab /sysutils
parent4865884f55f96ff829509f3d376806e9e646aff2 (diff)
downloadpkgsrc-dc74a005a90db0c3d3e62a76f74a0b4a1829d7fe.tar.gz
Make this package compile with GCC 3.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/dptutil/distinfo4
-rw-r--r--sysutils/dptutil/patches/patch-ao16
-rw-r--r--sysutils/dptutil/patches/patch-ap13
3 files changed, 32 insertions, 1 deletions
diff --git a/sysutils/dptutil/distinfo b/sysutils/dptutil/distinfo
index de68e85926c..55b04115ef3 100644
--- a/sysutils/dptutil/distinfo
+++ b/sysutils/dptutil/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2003/01/27 23:39:02 ad Exp $
+$NetBSD: distinfo,v 1.3 2003/12/09 19:41:26 ad Exp $
SHA1 (raidmgt-3.31.tar.gz) = d55d573fbdd22c4c9c44003b9230b29c1c728848
Size (raidmgt-3.31.tar.gz) = 723349 bytes
@@ -16,3 +16,5 @@ SHA1 (patch-ak) = 928681b9b01f3d126c70eb82ba169c54865a542b
SHA1 (patch-al) = f9884d55ae1b85a2912f6042cbe5485ff9f8f46d
SHA1 (patch-am) = d8c6397f7868492faefaf1c127df9d129a667592
SHA1 (patch-an) = 8c18f8015c131690a3fdd9e8ee96b5576d70eb9a
+SHA1 (patch-ao) = 5b63d7312894a9d4ca4bf74da74914ef119fb7c6
+SHA1 (patch-ap) = 862a1c820ef43e08ac2143d6612d3177fc6dc628
diff --git a/sysutils/dptutil/patches/patch-ao b/sysutils/dptutil/patches/patch-ao
new file mode 100644
index 00000000000..5bb1728f1d1
--- /dev/null
+++ b/sysutils/dptutil/patches/patch-ao
@@ -0,0 +1,16 @@
+$NetBSD: patch-ao,v 1.1 2003/12/09 19:41:26 ad Exp $
+
+--- dptutil/dynsize.cpp.orig 2003-12-09 19:22:47.000000000 +0000
++++ dptutil/dynsize.cpp 2003-12-09 19:25:59.000000000 +0000
+@@ -68,7 +68,11 @@
+ if ( buf != NULL )
+ {
+ #if !defined __MWERKS__
++#if __GNUC__ >= 3
++ setbuf(buf, curSize);
++#else
+ setb(buf, buf + curSize, 1);
++#endif
+ #else
+ pubsetbuf (buf, curSize);
+ #endif
diff --git a/sysutils/dptutil/patches/patch-ap b/sysutils/dptutil/patches/patch-ap
new file mode 100644
index 00000000000..7942370fe7f
--- /dev/null
+++ b/sysutils/dptutil/patches/patch-ap
@@ -0,0 +1,13 @@
+$NetBSD: patch-ap,v 1.1 2003/12/09 19:41:26 ad Exp $
+
+--- dptutil/flash.cpp.orig 2003-12-09 19:34:13.000000000 +0000
++++ dptutil/flash.cpp 2003-12-09 19:34:26.000000000 +0000
+@@ -34,7 +34,7 @@
+ #include <fstream.h>
+ #if defined _DPT_WIN_NT
+ #include <strstrea.h>
+-#else
++#elif __GNUC__ < 3
+ #include <strstream.h>
+ #endif
+