Группа :: Сети/Прочее
Пакет: ussp-push
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: ussp-push.patch
diff -uNr ussp-push-0.9.orig/Makefile ussp-push-0.9/Makefile
--- ussp-push-0.9.orig/Makefile 2006-03-10 09:01:12 +1200
+++ ussp-push-0.9/Makefile 2006-04-17 00:11:43 +1300
@@ -12,8 +12,8 @@
# necessary to reflect your setup.
#
-OBEXINC=-I/usr/local/include
-OBEXLIB=-L/usr/local/lib -lopenobex -lbluetooth
+OBEXINC=-I/usr/include
+OBEXLIB=-L/usr/lib -lopenobex -lbluetooth
CFLAGS:=${CFLAGS} -Wall
diff -uNr ussp-push-0.9.orig/obex_main.c ussp-push-0.9/obex_main.c
--- ussp-push-0.9.orig/obex_main.c 2006-03-10 09:01:12 +1200
+++ ussp-push-0.9/obex_main.c 2006-04-17 00:12:31 +1300
@@ -56,7 +56,7 @@
#include <errno.h>
#include <string.h>
-#include <openobex/obex.h>
+#include <obex.h>
#include "obex_macros.h"
#include "obex_main.h"
diff -uNr ussp-push-0.9.orig/obex_main.h ussp-push-0.9/obex_main.h
--- ussp-push-0.9.orig/obex_main.h 2006-03-10 09:01:12 +1200
+++ ussp-push-0.9/obex_main.h 2006-04-17 00:22:45 +1300
@@ -24,7 +24,7 @@
#define _OBEX_MAIN_H
#include <stdint.h>
-#include <openobex/obex.h>
+#include <obex.h>
#define EOBEX_OK 0
diff -uNr ussp-push-0.9.orig/obex_socket.c ussp-push-0.9/obex_socket.c
--- ussp-push-0.9.orig/obex_socket.c 2006-03-10 09:01:12 +1200
+++ ussp-push-0.9/obex_socket.c 2006-04-17 00:13:18 +1300
@@ -53,7 +53,7 @@
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
-#include <openobex/obex.h>
+#include <obex.h>
#include "obex_macros.h"
#include "obex_main.h"
diff -uNr ussp-push-0.9.orig/obex_socket.h ussp-push-0.9/obex_socket.h
--- ussp-push-0.9.orig/obex_socket.h 2006-03-10 09:01:12 +1200
+++ ussp-push-0.9/obex_socket.h 2006-04-17 00:13:28 +1300
@@ -8,7 +8,7 @@
#ifndef OBEX_SOCKET_H_INCLUDED
#define OBEX_SOCKET_H_INCLUDED
-#include <openobex/obex.h>
+#include <obex.h>
struct cobex_context *cobex_open(int devid, const char * port, int timeout);
struct cobex_context *cobex_setsocket(const int fd);