From 08acf5c407242344b0047b8040900f52df620dde Mon Sep 17 00:00:00 2001 From: cvs2svn Date: Thu, 11 Mar 2010 09:42:07 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'RELEASE_7_3_0'. --- misc/dahdi-kmod/files/patch-tools-tonezone.c | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 misc/dahdi-kmod/files/patch-tools-tonezone.c (limited to 'misc/dahdi-kmod/files/patch-tools-tonezone.c') diff --git a/misc/dahdi-kmod/files/patch-tools-tonezone.c b/misc/dahdi-kmod/files/patch-tools-tonezone.c deleted file mode 100644 index 66bb1c0034b9..000000000000 --- a/misc/dahdi-kmod/files/patch-tools-tonezone.c +++ /dev/null @@ -1,25 +0,0 @@ ---- tools/tonezone.c.orig 2008-08-06 06:43:02.000000000 +0700 -+++ tools/tonezone.c 2010-03-03 17:24:01.000000000 +0600 -@@ -46,6 +46,10 @@ - #define CLIP 32635 - #define BIAS 0x84 - -+#ifndef ENODATA -+#define ENODATA EINVAL -+#endif -+ - struct tone_zone *tone_zone_find(char *country) - { - struct tone_zone *z; -@@ -440,7 +444,11 @@ - dump_tone_zone(h, MAX_SIZE - space); - #endif - -+#if defined(__FreeBSD__) -+ if ((res = ioctl(fd, DAHDI_LOADZONE, &h))) { -+#else - if ((res = ioctl(fd, DAHDI_LOADZONE, h))) { -+#endif - fprintf(stderr, "ioctl(DAHDI_LOADZONE) failed: %s\n", strerror(errno)); - return res; - } -- cgit v1.2.3