summaryrefslogtreecommitdiff
path: root/net/ohphone
diff options
context:
space:
mode:
authorRoger Hardiman <roger@FreeBSD.org>2000-10-22 20:23:11 +0000
committerRoger Hardiman <roger@FreeBSD.org>2000-10-22 20:23:11 +0000
commit869a098cb1abe3309100b62cc83970013c03bbbd (patch)
tree941f1ca2e5b745d940246b1ebd680fddd9adfbf1 /net/ohphone
parentUpdate to 1.1.4 and unbreak (diff)
Add patch so OhPhone compiles on systems without the Quicknet (IXJ)
drivers installed. Submitted by: Blaz Zupan <blaz@amis.net>
Notes
Notes: svn path=/head/; revision=34110
Diffstat (limited to 'net/ohphone')
-rw-r--r--net/ohphone/files/patch-aa30
1 files changed, 30 insertions, 0 deletions
diff --git a/net/ohphone/files/patch-aa b/net/ohphone/files/patch-aa
new file mode 100644
index 000000000000..c7beeb3b206e
--- /dev/null
+++ b/net/ohphone/files/patch-aa
@@ -0,0 +1,30 @@
+--- main.cxx.orig Fri Sep 29 02:07:38 2000
++++ main.cxx Sun Oct 22 19:13:43 2000
+@@ -1221,7 +1221,9 @@
+ if (callerIdCallWaitingEnable) {
+ PString callerId = ((MyH323Connection &)connection).GetCallerIdString();
+ cout << "Sending caller ID " << callerId << endl;
++#ifdef HAS_IXJ
+ xJack.SetCallerID(OpalIxJDevice::POTSLine, callerId);
++#endif
+ }
+ return FALSE;
+ }
+@@ -2042,8 +2044,6 @@
+ }
+ }
+
+-#endif
+-
+ unsigned MyH323EndPoint::VolumeToIXJ(int vol)
+ {
+ int hw;
+@@ -2084,6 +2084,8 @@
+
+ return vol;
+ }
++
++#endif
+
+ void MyH323EndPoint::HandleUserInterface()
+ {