pkgsrc/sysutils/dptutil/patches/patch-dptutil_setrate_hpp
dholland 4a0702d6dd Fix assorted build problems. Should close PR 42081. While here, add at
least minimal comments to all patches and tidy up some (but by no
means all) pkglint.

I have no idea if this works. It spews warnings about "packed", which
lead me to suspect it may not run correctly, but I don't have the
facilities to test it. It does, however, now build ok on LP64 and if
someone can test it may be reasonable to remove the restriction on that.
2011-05-22 19:11:42 +00:00

17 lines
557 B
Text

$NetBSD: patch-dptutil_setrate_hpp,v 1.1 2011/05/22 19:11:42 dholland Exp $
Build fix for semi-modern C++.
--- dptutil/setrate.hpp~ 2002-08-13 15:02:51.000000000 +0000
+++ dptutil/setrate.hpp
@@ -33,8 +33,8 @@ class SetRate: public Command
public:
// Set the (global) rebuild rate
- SetRate::SetRate(int rate, SCSI_Addr_List *objs);
- SetRate::SetRate(const SetRate &right);
+ SetRate(int rate, SCSI_Addr_List *objs);
+ SetRate(const SetRate &right);
virtual ~SetRate();
Dpt_Error execute(String_List **output);