diff options
author | Wesley Shields <wxs@FreeBSD.org> | 2008-10-30 00:33:25 +0000 |
---|---|---|
committer | Wesley Shields <wxs@FreeBSD.org> | 2008-10-30 00:33:25 +0000 |
commit | ec562b80362034754003fede5157d00659a82ffc (patch) | |
tree | cc2f2760e8dff5dbe43a755fd9e660eaaa3c1871 /www/asterisk-gui/files/patch-tools-zapscan.c | |
parent | Upgrade to 7.0.6. (diff) |
Update to 2.0.3
PR: ports/128403
Submitted by: Phillip N. <pneumann@gmail.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=222219
Diffstat (limited to 'www/asterisk-gui/files/patch-tools-zapscan.c')
-rw-r--r-- | www/asterisk-gui/files/patch-tools-zapscan.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/www/asterisk-gui/files/patch-tools-zapscan.c b/www/asterisk-gui/files/patch-tools-zapscan.c deleted file mode 100644 index 240067d5e175..000000000000 --- a/www/asterisk-gui/files/patch-tools-zapscan.c +++ /dev/null @@ -1,15 +0,0 @@ ---- ./tools/zapscan.c.orig Fri Nov 3 01:48:08 2006 -+++ ./tools/zapscan.c Sat Mar 31 17:54:39 2007 -@@ -37,9 +37,9 @@ - int oldsig=-1; - int fd = open("/dev/zap/ctl", O_RDWR); - struct zt_params ztp; -- FILE *zdc = fopen("/etc/zaptel.conf", "a"); -- FILE *zsc = fopen("/etc/asterisk/zapscan.conf", "w"); -- FILE *zap = fopen("/etc/asterisk/zapata.conf", "a"); -+ FILE *zdc = fopen("%%PREFIX%%/etc/zaptel.conf", "a"); -+ FILE *zsc = fopen("%%PREFIX%%/etc/asterisk/zapscan.conf", "w"); -+ FILE *zap = fopen("%%PREFIX%%/etc/asterisk/zapata.conf", "a"); - if (fd < 0) { - fprintf(stderr, "Failed to open /dev/zap/ctl: %s\n", strerror(errno)); - exit(1); |