summaryrefslogtreecommitdiffstats
path: root/package/openobex/openobex-replace_deprecated_functions.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2015-02-03 14:52:07 +0100
committerPeter Korsgaard <peter@korsgaard.com>2015-02-03 14:52:56 +0100
commit298cd8eaa21a21eee85f9551a26ad294347b1d5a (patch)
tree249fa33b66f65e6daffdbfc8ca2e5399e8d89e61 /package/openobex/openobex-replace_deprecated_functions.patch
parentdd798a45c571063595c45278e28ed4f614f2cf32 (diff)
downloadbuildroot-298cd8eaa21a21eee85f9551a26ad294347b1d5a.tar.gz
buildroot-298cd8eaa21a21eee85f9551a26ad294347b1d5a.zip
package/*: rename patches according to the new policy
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/openobex/openobex-replace_deprecated_functions.patch')
-rw-r--r--package/openobex/openobex-replace_deprecated_functions.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/package/openobex/openobex-replace_deprecated_functions.patch b/package/openobex/openobex-replace_deprecated_functions.patch
deleted file mode 100644
index 17274d385b..0000000000
--- a/package/openobex/openobex-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