pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/dptutil Make this package compile with GCC 3.
details: https://anonhg.NetBSD.org/pkgsrc/rev/94904e1a9983
branches: trunk
changeset: 464459:94904e1a9983
user: ad <ad%pkgsrc.org@localhost>
date: Tue Dec 09 19:41:26 2003 +0000
description:
Make this package compile with GCC 3.
diffstat:
sysutils/dptutil/distinfo | 4 +++-
sysutils/dptutil/patches/patch-ao | 16 ++++++++++++++++
sysutils/dptutil/patches/patch-ap | 13 +++++++++++++
3 files changed, 32 insertions(+), 1 deletions(-)
diffs (52 lines):
diff -r 5d4ccefc7355 -r 94904e1a9983 sysutils/dptutil/distinfo
--- a/sysutils/dptutil/distinfo Tue Dec 09 19:17:37 2003 +0000
+++ b/sysutils/dptutil/distinfo Tue Dec 09 19:41:26 2003 +0000
@@ -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-al) = f9884d55ae1b85a2912f6042cbe5485ff9f8f46d
SHA1 (patch-am) = d8c6397f7868492faefaf1c127df9d129a667592
SHA1 (patch-an) = 8c18f8015c131690a3fdd9e8ee96b5576d70eb9a
+SHA1 (patch-ao) = 5b63d7312894a9d4ca4bf74da74914ef119fb7c6
+SHA1 (patch-ap) = 862a1c820ef43e08ac2143d6612d3177fc6dc628
diff -r 5d4ccefc7355 -r 94904e1a9983 sysutils/dptutil/patches/patch-ao
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dptutil/patches/patch-ao Tue Dec 09 19:41:26 2003 +0000
@@ -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 -r 5d4ccefc7355 -r 94904e1a9983 sysutils/dptutil/patches/patch-ap
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dptutil/patches/patch-ap Tue Dec 09 19:41:26 2003 +0000
@@ -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
+
Home |
Main Index |
Thread Index |
Old Index