summaryrefslogtreecommitdiffstats
path: root/package/openobex/0002-replace_deprecated_functions.patch
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2017-09-16 17:15:35 +0200
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2017-09-24 15:21:15 +0200
commit49a9fb0f13789298e65f21405502a9106e2c7382 (patch)
treeaae8aa84e5364e2d3bc6df64cc45b09eee4ead7b /package/openobex/0002-replace_deprecated_functions.patch
parent6e9112f0a4d78ff89584734e743778a29e730f96 (diff)
downloadbuildroot-49a9fb0f13789298e65f21405502a9106e2c7382.tar.gz
buildroot-49a9fb0f13789298e65f21405502a9106e2c7382.zip
package/openobex: bump version to 1.7.2
Package switched to cmake without providing most of the autoconf options previously available. Therefore we move all suboptions to Config.in.legacy. All patches are removed, the files to be patched do not exist anymore. OPENOBEX_EXTRACT_CMDS is not needed anymore, upstream provides the source as .tar.gz now. Version 1.6 added support for libusb-1.x and udev. The current version also supports bluez5_utils, not only bluez_utils. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> [Arnout: add help text to legacy options] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'package/openobex/0002-replace_deprecated_functions.patch')
-rw-r--r--package/openobex/0002-replace_deprecated_functions.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/package/openobex/0002-replace_deprecated_functions.patch b/package/openobex/0002-replace_deprecated_functions.patch
deleted file mode 100644
index 17274d385b..0000000000
--- a/package/openobex/0002-replace_deprecated_functions.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-obex_test_cable.c: avoid to use SuSv3 LEGACY APIs
-
-Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
-Signed-off-by: Samuel Martin <s.martin49@gmail.com>
-
-Index: openobex-1.5/apps/obex_test_cable.c
-===================================================================
---- openobex-1.5.orig/apps/obex_test_cable.c 2009-02-08 19:30:22.000000000 +0100
-+++ openobex-1.5/apps/obex_test_cable.c 2010-06-16 11:11:05.000000000 +0200
-@@ -113,9 +113,9 @@
- if(total == sizeof(tmpbuf))
- return -1;
-
-- if( (answer = index(tmpbuf, '\n')) ) {
-+ if( (answer = strchr(tmpbuf, '\n')) ) {
- // Remove first line (echo)
-- if( (answer_end = index(answer+1, '\n')) ) {
-+ if( (answer_end = strchr(answer+1, '\n')) ) {
- // Found end of answer
- done = 1;
- }
-@@ -178,7 +178,7 @@
- }
-
- tcgetattr(gt->ttyfd, &gt->oldtio);
-- bzero(&gt->newtio, sizeof(struct termios));
-+ memset(&gt->newtio, 0, sizeof(struct termios));
- gt->newtio.c_cflag = B115200 | CS8 | CREAD | CRTSCTS;
- gt->newtio.c_iflag = IGNPAR;
- gt->newtio.c_oflag = 0;
OpenPOWER on IntegriCloud