From 869a098cb1abe3309100b62cc83970013c03bbbd Mon Sep 17 00:00:00 2001 From: Roger Hardiman Date: Sun, 22 Oct 2000 20:23:11 +0000 Subject: [PATCH] Add patch so OhPhone compiles on systems without the Quicknet (IXJ) drivers installed. Submitted by: Blaz Zupan --- net/ohphone/files/patch-aa | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 net/ohphone/files/patch-aa 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() + {