add obexftp with bluetooth
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@641 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
12
app-mobilephone/obexftp/files/obexftp-0.22-btooth.patch
Normal file
12
app-mobilephone/obexftp/files/obexftp-0.22-btooth.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- o/apps/obexftpd.c 2008-06-15 22:18:58.000000000 +0300
|
||||
+++ n/apps/obexftpd.c 2008-12-09 00:01:20.000000000 +0200
|
||||
@@ -58,6 +58,9 @@
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netdb.h>
|
||||
+#ifdef HAVE_BLUETOOTH
|
||||
+#include <bluetooth/bluetooth.h>
|
||||
+#endif
|
||||
#endif
|
||||
|
||||
/* just until there is a server layer in obexftp */
|
||||
@@ -0,0 +1,22 @@
|
||||
diff -ur obexftp-0.22.orig/swig/ruby/extconf.rb obexftp-0.22/swig/ruby/extconf.rb
|
||||
--- obexftp-0.22.orig/swig/ruby/extconf.rb 2008-06-15 19:18:58.000000000 +0000
|
||||
+++ obexftp-0.22/swig/ruby/extconf.rb 2008-11-05 21:38:45.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
|
||||
-
|
||||
Reference in New Issue
Block a user