mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-22 07:39:53 +01:00
Patched Bluecove native code to work around a bug in OS X 10.4.
This commit is contained in:
@@ -19,8 +19,8 @@
|
|||||||
<classpathentry kind="lib" path="lib/jna.jar"/>
|
<classpathentry kind="lib" path="lib/jna.jar"/>
|
||||||
<classpathentry kind="lib" path="lib/platform.jar"/>
|
<classpathentry kind="lib" path="lib/platform.jar"/>
|
||||||
<classpathentry kind="lib" path="lib/jnotify-0.93.jar"/>
|
<classpathentry kind="lib" path="lib/jnotify-0.93.jar"/>
|
||||||
<classpathentry kind="lib" path="lib/bluecove-2.1.0.jar" sourcepath="lib/source/bluecove-2.1.0-sources.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib/bluecove-gpl-2.1.0.jar" sourcepath="lib/source/bluecove-gpl-2.1.0-sources.jar"/>
|
<classpathentry kind="lib" path="lib/bluecove-gpl-2.1.0.jar" sourcepath="lib/source/bluecove-gpl-2.1.0-sources.jar"/>
|
||||||
<classpathentry kind="lib" path="lib/h2small-snapshot-2011-10-25.jar"/>
|
<classpathentry kind="lib" path="lib/h2small-snapshot-2011-10-25.jar"/>
|
||||||
|
<classpathentry kind="lib" path="lib/bluecove-2.1.0-briar.jar" sourcepath="lib/source/bluecove-2.1.0-briar-sources.jar"/>
|
||||||
<classpathentry kind="output" path="bin"/>
|
<classpathentry kind="output" path="bin"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|||||||
14
bluecove-2.1.0.patch
Normal file
14
bluecove-2.1.0.patch
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
diff -Bbur bluecove-2.1.0/src/main/c/intelbth/OSXStackRFCOMMServer.mm bluecove-2.1.0-briar/src/main/c/intelbth/OSXStackRFCOMMServer.mm
|
||||||
|
--- bluecove-2.1.0/src/main/c/intelbth/OSXStackRFCOMMServer.mm 2008-12-24 16:58:36.000000000 +0000
|
||||||
|
+++ bluecove-2.1.0-briar/src/main/c/intelbth/OSXStackRFCOMMServer.mm 2011-11-08 20:54:58.000000000 +0000
|
||||||
|
@@ -280,6 +280,10 @@
|
||||||
|
ndebug(("fail to get IOBluetoothRFCOMMChannel"));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
+ if (![rfcommChannel isIncoming]) {
|
||||||
|
+ ndebug(("ignoring outgoing connection"));
|
||||||
|
+ return;
|
||||||
|
+ }
|
||||||
|
if (comm->authenticate) {
|
||||||
|
IOBluetoothDevice* device = [rfcommChannel getDevice];
|
||||||
|
if (device == NULL) {
|
||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user