pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/smartmontools Add const to fix compile proble...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9410bef60fd2
branches: trunk
changeset: 534387:9410bef60fd2
user: taca <taca%pkgsrc.org@localhost>
date: Fri Oct 19 03:56:13 2007 +0000
description:
Add const to fix compile problem on some platforms.
diffstat:
sysutils/smartmontools/distinfo | 4 +++-
sysutils/smartmontools/patches/patch-ae | 13 +++++++++++++
sysutils/smartmontools/patches/patch-af | 13 +++++++++++++
3 files changed, 29 insertions(+), 1 deletions(-)
diffs (47 lines):
diff -r cc02e4254c63 -r 9410bef60fd2 sysutils/smartmontools/distinfo
--- a/sysutils/smartmontools/distinfo Fri Oct 19 03:48:47 2007 +0000
+++ b/sysutils/smartmontools/distinfo Fri Oct 19 03:56:13 2007 +0000
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.13 2007/06/03 10:40:07 jmmv Exp $
+$NetBSD: distinfo,v 1.14 2007/10/19 03:56:13 taca Exp $
SHA1 (smartmontools-5.37.tar.gz) = d6e88f576e26836b929c570290644b0580645602
RMD160 (smartmontools-5.37.tar.gz) = e9d18c71340766dc43bf462a4c12cb0d152f2812
Size (smartmontools-5.37.tar.gz) = 590605 bytes
SHA1 (patch-aa) = 005d69bebfdb385ca42c59aa2c90a62e22c14733
+SHA1 (patch-ae) = 35a42cfc16f6657ddbc81cbecf340a3892ba4918
+SHA1 (patch-af) = 0936c5eb5f0df75cebd186304a6ca111909a34d2
diff -r cc02e4254c63 -r 9410bef60fd2 sysutils/smartmontools/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/smartmontools/patches/patch-ae Fri Oct 19 03:56:13 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1 2007/10/19 03:56:13 taca Exp $
+
+--- smartctl.cpp.orig Mon Oct 9 20:45:12 2006
++++ smartctl.cpp
+@@ -82,7 +82,7 @@ void PrintOneCVS(const char *a_cvs_id){
+ }
+
+ void printcopy(){
+- 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]";
+
+ pout("smartctl comes with ABSOLUTELY NO WARRANTY. This\n");
+ pout("is free software, and you are welcome to redistribute it\n");
diff -r cc02e4254c63 -r 9410bef60fd2 sysutils/smartmontools/patches/patch-af
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/smartmontools/patches/patch-af Fri Oct 19 03:56:13 2007 +0000
@@ -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");
Home |
Main Index |
Thread Index |
Old Index