summaryrefslogtreecommitdiffstats
path: root/net/ohphone
diff options
context:
space:
mode:
authorroger <roger@FreeBSD.org>2000-10-22 20:23:11 +0000
committerroger <roger@FreeBSD.org>2000-10-22 20:23:11 +0000
commitf259cd08b0d3f6ec626291a9b5ba35a1a6565564 (patch)
tree80cb3d5570e5a2e50605928eb01b7bce45fa5e70 /net/ohphone
parentfdf1d9bcfb192ccd52dc515076102494d618c3e3 (diff)
downloadFreeBSD-ports-f259cd08b0d3f6ec626291a9b5ba35a1a6565564.zip
FreeBSD-ports-f259cd08b0d3f6ec626291a9b5ba35a1a6565564.tar.gz
Add patch so OhPhone compiles on systems without the Quicknet (IXJ)
drivers installed. Submitted by: Blaz Zupan <blaz@amis.net>
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 0000000..c7beeb3
--- /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()
+ {
OpenPOWER on IntegriCloud