tags 470441 +patch thanks Hi, Please find attached a patch to fix FTBFS bugs in packages using the OBEX_CLIENT variable.
In the latest cvs version of libopenobex OBEX_CLIENT and OBEX_SERVER variables in openobex/obex_const.h have been renamed to OBEX_MODE_CLIENT and OBEX_MODE_SERVER resulting in FTBFS of packages using the old variables. I have redefined the old variables for backward compatibility. Regards Varun -- Varun Hiremath Undergraduate Student, Aerospace Engineering Department, Indian Institute of Technology Madras, Chennai, India ------------------------------------- Homepage: http://varun.travisbsd.org
Index: libopenobex-1.3+cvs20070425/include/obex_const.h =================================================================== --- libopenobex-1.3+cvs20070425.orig/include/obex_const.h 2008-03-14 22:33:23.000000000 +0530 +++ libopenobex-1.3+cvs20070425/include/obex_const.h 2008-03-14 22:34:50.000000000 +0530 @@ -78,6 +78,10 @@ #define OBEX_MODE_CLIENT 0 #define OBEX_MODE_SERVER 1 +/* Define old variables for backward compatibility */ +#define OBEX_CLIENT 0 +#define OBEX_SERVER 1 + /* Possible events */ #define OBEX_EV_PROGRESS 0 /* Progress has been made */ #define OBEX_EV_REQHINT 1 /* An incoming request is about to come */