Mailinglist Archive: opensuse-commit (1081 mails)

< Previous Next >
commit bluez-libs
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Thu, 31 May 2007 20:46:05 +0200
  • Message-id: <20070531184605.6C8D1678171@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package bluez-libs
checked in at Thu May 31 20:46:05 CEST 2007.

--------
--- bluez-libs/bluez-libs.changes       2007-05-25 12:19:22.000000000 +0200
+++ /mounts/work_src_done/STABLE/bluez-libs/bluez-libs.changes  2007-05-29 14:32:05.000000000 +0200
@@ -1,0 +2,5 @@
+Tue May 29 14:31:56 CEST 2007 - dmueller@xxxxxxx
+
+- add patch to fix compilation with C++ applications
+
+-------------------------------------------------------------------

New:
----
  compound-literals-are-gnu-extension.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ bluez-libs.spec ++++++
--- /var/tmp/diff_new_pack.G10894/_old  2007-05-31 20:45:53.000000000 +0200
+++ /var/tmp/diff_new_pack.G10894/_new  2007-05-31 20:45:53.000000000 +0200
@@ -13,12 +13,13 @@
 Name:           bluez-libs
 URL:            http://bluez.sourceforge.net
 Version:        3.11
-Release:        1
+Release:        3
 Summary:        Bluetooth Libraries
 License:        GNU General Public License (GPL)
 Group:          Hardware/Mobile
 Autoreqprov:    on
 Source:         bluez-libs-%{version}.tar.gz
+Patch1:         compound-literals-are-gnu-extension.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %define prefix   /usr
 
@@ -35,6 +36,7 @@
 
 %prep
 %setup -q
+%patch1
 %{?suse_update_config:%{suse_update_config -f . }}
 
 %build
@@ -64,6 +66,8 @@
 %doc AUTHORS COPYING INSTALL ChangeLog NEWS README
 
 %changelog
+* Tue May 29 2007 - dmueller@xxxxxxx
+- add patch to fix compilation with C++ applications
 * Fri May 25 2007 - seife@xxxxxxx
 - update to v3.11:
   * Fix URL data size handling.

++++++ compound-literals-are-gnu-extension.diff ++++++
--- include/bluetooth.h
+++ include/bluetooth.h
@@ -105,9 +105,9 @@ typedef struct {
        uint8_t b[6];
 } __attribute__((packed)) bdaddr_t;
 
-#define BDADDR_ANY   (&(bdaddr_t) {{0, 0, 0, 0, 0, 0}})
-#define BDADDR_ALL   (&(bdaddr_t) {{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}})
-#define BDADDR_LOCAL (&(bdaddr_t) {{0, 0, 0, 0xff, 0xff, 0xff}})
+#define BDADDR_ANY   __extension__ (&(bdaddr_t) {{0, 0, 0, 0, 0, 0}})
+#define BDADDR_ALL   __extension__ (&(bdaddr_t) {{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}})
+#define BDADDR_LOCAL __extension__ (&(bdaddr_t) {{0, 0, 0, 0xff, 0xff, 0xff}})
 
 /* Copy, swap, convert BD Address */
 static inline int bacmp(const bdaddr_t *ba1, const bdaddr_t *ba2)

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread