diff options
Diffstat (limited to 'sysutils/smartmontools/patches/patch-af')
-rw-r--r-- | sysutils/smartmontools/patches/patch-af | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/smartmontools/patches/patch-af b/sysutils/smartmontools/patches/patch-af new file mode 100644 index 00000000000..c88f0c5e8f0 --- /dev/null +++ b/sysutils/smartmontools/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.1 2007/10/19 03:56:14 taca Exp $ + +--- smartd.cpp.orig Sun Nov 12 13:49:09 2006 ++++ smartd.cpp +@@ -310,7 +310,7 @@ void PrintOneCVS(const char *a_cvs_id){ + + // prints CVS identity information for the executable + void PrintCVS(void){ +- char *configargs=strlen(SMARTMONTOOLS_CONFIGURE_ARGS)?SMARTMONTOOLS_CONFIGURE_ARGS:"[no arguments given]"; ++ const char *configargs=strlen(SMARTMONTOOLS_CONFIGURE_ARGS)?SMARTMONTOOLS_CONFIGURE_ARGS:"[no arguments given]"; + + PrintOut(LOG_INFO,(char *)copyleftstring); + PrintOut(LOG_INFO,"CVS version IDs of files used to build this code are:\n"); |