summaryrefslogtreecommitdiff
path: root/comms/smstools3/files/patch-src_smsd_cfg.c
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2008-05-18 09:23:03 +0000
committerMartin Matuska <mm@FreeBSD.org>2008-05-18 09:23:03 +0000
commita64073f3fa7989d2bdc95816ba410ec8250c9a30 (patch)
treee40fdb5f996ce38f2080f4b2df55e9a602fa12ed /comms/smstools3/files/patch-src_smsd_cfg.c
parentFix build with the latest uim. (diff)
The SMS Server Tools 3 is a SMS Gateway software which can send and receive
short messages through GSM modems and mobile phones. This is the enhanced version 3.x maintained by Mr. Keijo "Keke" Kasvi. WWW: http://smstools3.kekekasvi.com
Diffstat (limited to 'comms/smstools3/files/patch-src_smsd_cfg.c')
-rw-r--r--comms/smstools3/files/patch-src_smsd_cfg.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/comms/smstools3/files/patch-src_smsd_cfg.c b/comms/smstools3/files/patch-src_smsd_cfg.c
new file mode 100644
index 000000000000..df03fec70086
--- /dev/null
+++ b/comms/smstools3/files/patch-src_smsd_cfg.c
@@ -0,0 +1,20 @@
+--- src/smsd_cfg.c Fri Apr 21 11:25:01 2006
++++ src/smsd_cfg.c Fri Apr 21 11:27:51 2006
+@@ -387,7 +387,7 @@
+ printf(" -h this help\n");
+ printf(" -s display status monitor\n");
+ printf(" -V print copyright and version\n\n");
+- printf("All other options are set by the file /etc/smsd.conf.\n\n");
++ printf("All other options are set by the file %%PREFIX%%/etc/smsd.conf.\n\n");
+ printf("Output is written to stdout, errors are written to stderr.\n\n");
+ exit(0);
+ }
+@@ -395,7 +395,7 @@
+ void parsearguments(int argc,char** argv)
+ {
+ int result;
+- strcpy(configfile,"/etc/smsd.conf");
++ strcpy(configfile,"%%PREFIX%%/etc/smsd.conf");
+ printstatus=0;
+
+ do