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:
parent
8763b0aa5d
commit
869a098cb1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34110
30
net/ohphone/files/patch-aa
Normal file
30
net/ohphone/files/patch-aa
Normal 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()
|
||||
{
|
Loading…
Reference in New Issue
Block a user