summaryrefslogtreecommitdiff
blob: a9a70f79168d7776e61f030f4697f9938b4b6805 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
diff -Nru obexftp-0.23.orig/obexftp/client.c obexftp-0.23/obexftp/client.c
--- obexftp-0.23.orig/obexftp/client.c	2009-02-17 18:27:48.000000000 +0000
+++ obexftp-0.23/obexftp/client.c	2009-03-22 16:12:05.000000000 +0000
@@ -51,8 +51,6 @@
 
 #ifdef HAVE_BLUETOOTH
 #include "bt_kit.h"
-#else
-#define ESOCKTNOSUPPORT	WSAESOCKTNOSUPPORT
 #endif /* HAVE_BLUETOOTH */
 
 #include <openobex/obex.h>
diff -Nru obexftp-0.23.orig/apps/obexftp.c obexftp-0.23/apps/obexftp.c
--- obexftp-0.23.orig/apps/obexftp.c	2009-02-17 18:27:48.000000000 +0000
+++ obexftp-0.23/apps/obexftp.c	2009-03-22 16:19:29.000000000 +0000
@@ -29,6 +29,8 @@
 
 #include <sys/types.h>
 
+#include <config.h>
+
 #ifdef HAVE_SYS_TIMES_H
 #include <sys/times.h>
 #endif
diff -Nru obexftp-0.23.orig/swig/ruby/extconf.rb obexftp-0.23/swig/ruby/extconf.rb
--- obexftp-0.23.orig/swig/ruby/extconf.rb	2009-02-17 18:27:48.000000000 +0000
+++ obexftp-0.23/swig/ruby/extconf.rb	2009-03-22 16:19:56.000000000 +0000
@@ -21,10 +21,6 @@
 end
 
 dir_config('obexftp')
-if have_library('openobex', 'OBEX_Init') and
-   find_library('bfb', 'bfb_io_open', '../../bfb/.libs') and
-   find_library('multicobex', 'cobex_ctrans', '../../multicobex/.libs') and
-   find_library('obexftp', 'obexftp_open', '../../obexftp/.libs')
   create_makefile('obexftp')
 
   # hack 2: strip all rpath references
@@ -33,7 +29,3 @@
       out.puts line.gsub(/-Wl,-R'[^']*'/, '')
     end
   end
-else
-  puts 'obex libs not found'
-end
-