aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorroger <roger@FreeBSD.org>2000-10-23 04:23:11 +0800
committerroger <roger@FreeBSD.org>2000-10-23 04:23:11 +0800
commitf259cd08b0d3f6ec626291a9b5ba35a1a6565564 (patch)
tree80cb3d5570e5a2e50605928eb01b7bce45fa5e70 /net
parentfdf1d9bcfb192ccd52dc515076102494d618c3e3 (diff)
downloadfreebsd-ports-gnome-f259cd08b0d3f6ec626291a9b5ba35a1a6565564.tar.gz
freebsd-ports-gnome-f259cd08b0d3f6ec626291a9b5ba35a1a6565564.tar.zst
freebsd-ports-gnome-f259cd08b0d3f6ec626291a9b5ba35a1a6565564.zip
Add patch so OhPhone compiles on systems without the Quicknet (IXJ)
drivers installed. Submitted by: Blaz Zupan <blaz@amis.net>
Diffstat (limited to 'net')
-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()
+ {