1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

Add patch so OhPhone compiles on systems without the Quicknet (IXJ)

drivers installed.

Submitted by:	Blaz Zupan <blaz@amis.net>
This commit is contained in:
Roger Hardiman 2000-10-22 20:23:11 +00:00
parent 8763b0aa5d
commit 869a098cb1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34110

View File

@ -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()
{