Fix the 64bit build error 11/293811/2 accepted/tizen/unified/20230608.164325
authorAnuj Jain <anuj01.jain@samsung.com>
Mon, 5 Jun 2023 09:08:29 +0000 (14:38 +0530)
committerAnuj Jain <anuj01.jain@samsung.com>
Wed, 7 Jun 2023 05:59:14 +0000 (11:29 +0530)
Change-Id: If2eb25d701bfe3167150c42744e554736e3e0504
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
packaging/bluez.spec
tools/isotest.c

index caed4df..193160b 100755 (executable)
@@ -531,13 +531,6 @@ popd
 #%{_bindir}/obex-root-setup
 #%{_bindir}/obex.sh
 
-%files
-%defattr(-,root,root,-)
-/usr/bin/*
-/usr/include/bluetooth/*
-/usr/lib/*
-/usr/libexec/bluetooth/bluetoothd
-
 %files test
 %manifest %{name}.manifest
 %defattr(-,root,root)
@@ -555,6 +548,7 @@ popd
 %{_bindir}/bluemoon
 %{_bindir}/gatttool
 %{_bindir}/hex2hcd
+%{_bindir}/isotest
 %{_bindir}/avtest
 #%{_bindir}/btattach
 %exclude /usr/lib/debug/*
index 8c37566..1e79fce 100644 (file)
@@ -592,12 +592,20 @@ static void send_wait(struct timespec *t_start, uint32_t us)
        delta_us = us - TS_USEC(&t_diff);
 
        if (delta_us < 0) {
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+               syslog(LOG_INFO, "Send is behind: %lld us", (long long)delta_us);
+#else
                syslog(LOG_INFO, "Send is behind: %lld us", delta_us);
+#endif
                delta_us = 1000;
        }
 
        if (!quiet)
+#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
+               syslog(LOG_INFO, "Waiting (%lld us)...", (long long)delta_us);
+#else
                syslog(LOG_INFO, "Waiting (%lld us)...", delta_us);
+#endif
 
        usleep(delta_us);