summaryrefslogtreecommitdiff
path: root/net/iaxmodem/files/patch-iaxmodem.c
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-08-21 04:30:49 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-08-21 04:30:49 +0000
commitd3ae086cc4924b15655a840784d4f862c0130cc2 (patch)
tree98338cb50193a50fd99bcb2198776602fb1541b7 /net/iaxmodem/files/patch-iaxmodem.c
parent- Add DIST_SUBDIR (diff)
- Update to 0.1.14
- Replace the build system to hand-written configure/Makefile - Mark it as BROKEN on 4.x: does not compile PR: ports/101961 Submitted by: Anish Mistry <amistry at am-productions.biz> Approved by: Filippo Natali" <filippo.natali at gmail.com> (maintainer)
Diffstat (limited to '')
-rw-r--r--net/iaxmodem/files/patch-iaxmodem.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/net/iaxmodem/files/patch-iaxmodem.c b/net/iaxmodem/files/patch-iaxmodem.c
new file mode 100644
index 000000000000..89e46978e70f
--- /dev/null
+++ b/net/iaxmodem/files/patch-iaxmodem.c
@@ -0,0 +1,29 @@
+--- iaxmodem.c.orig Mon Jul 31 15:29:29 2006
++++ iaxmodem.c Fri Aug 11 20:23:50 2006
+@@ -17,12 +17,14 @@
+ */
+ #include <stdio.h>
+ #include <string.h>
+-#ifndef __OpenBSD__
++#if !defined(__OpenBSD__) && !defined(__FreeBSD__)
+ #include <pty.h>
+ #else
+ #include <termios.h>
++#if !defined(__FreeBSD__)
+ #include <util.h>
+ #endif
++#endif
+ #include <stdlib.h>
+ #include <unistd.h>
+ #include <dirent.h>
+@@ -44,6 +46,10 @@
+ #include <math.h>
+
+ #include <stdint.h>
++
++#ifdef __FreeBSD__
++#include <libutil.h>
++#endif
+ #include <tiffio.h>
+
+ #include <spandsp.h>