summaryrefslogtreecommitdiff
path: root/package/obexftp
diff options
context:
space:
mode:
Diffstat (limited to 'package/obexftp')
-rw-r--r--package/obexftp/Makefile8
-rw-r--r--package/obexftp/patches/patch-obexftp_client_c11
2 files changed, 15 insertions, 4 deletions
diff --git a/package/obexftp/Makefile b/package/obexftp/Makefile
index e70519cc6..828d73871 100644
--- a/package/obexftp/Makefile
+++ b/package/obexftp/Makefile
@@ -7,9 +7,9 @@ PKG_NAME:= obexftp
PKG_VERSION:= 0.23
PKG_RELEASE:= 4
PKG_MD5SUM:= f20762061b68bc921e80be4aebc349eb
-PKG_DESCR:= bluetooth ftp application
-PKG_SECTION:= bluetooth
-PKG_DEPENDS:= openobex libobexftp libbluetooth
+PKG_DESCR:= OBEX ftp application
+PKG_SECTION:= misc
+PKG_DEPENDS:= openobex libobexftp
PKG_BUILDDEP:= openobex libiconv-tiny
PKG_URL:= http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=openobex/}
@@ -39,7 +39,7 @@ endif
CONFIGURE_ENV+= OPENOBEX_CFLAGS="-I${STAGING_TARGET_DIR}/usr/include" \
OPENOBEX_LIBS="-L${STAGING_TARGET_DIR}/usr/lib \
- -lopenobex -lbluetooth -liconv"
+ -lopenobex -liconv"
CONFIGURE_ARGS+= --disable-perl \
--disable-ruby \
--disable-tcl \
diff --git a/package/obexftp/patches/patch-obexftp_client_c b/package/obexftp/patches/patch-obexftp_client_c
new file mode 100644
index 000000000..f4c90143b
--- /dev/null
+++ b/package/obexftp/patches/patch-obexftp_client_c
@@ -0,0 +1,11 @@
+--- obexftp-0.23.orig/obexftp/client.c 2009-02-17 19:27:48.000000000 +0100
++++ obexftp-0.23/obexftp/client.c 2013-12-22 09:35:39.000000000 +0100
+@@ -51,8 +51,6 @@
+
+ #ifdef HAVE_BLUETOOTH
+ #include "bt_kit.h"
+-#else
+-#define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT
+ #endif /* HAVE_BLUETOOTH */
+
+ #include <openobex/obex.h>