Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Staging:A
ffado
ffado-gcc6.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ffado-gcc6.patch of Package ffado
--- src/libutil/TimestampedBuffer.cpp | 2 +- tests/test-enhanced-mixer.cpp | 3 ++- tests/test-mixer.cpp | 3 ++- tests/test-pan.cpp | 3 ++- tests/test-volume.cpp | 3 ++- 5 files changed, 9 insertions(+), 5 deletions(-) Index: src/libutil/TimestampedBuffer.cpp =================================================================== --- src/libutil/TimestampedBuffer.cpp.orig +++ src/libutil/TimestampedBuffer.cpp @@ -58,6 +58,7 @@ pthread_mutex_unlock(&m_framecounter_lock); \ } +#include <math.h> namespace Util { @@ -179,7 +180,6 @@ bool TimestampedBuffer::setWrapValue(ffa m_wrap_at=w; return true; } -#include <math.h> /** * \brief return the effective rate Index: tests/test-enhanced-mixer.cpp =================================================================== --- tests/test-enhanced-mixer.cpp.orig +++ tests/test-enhanced-mixer.cpp @@ -25,6 +25,7 @@ #include "libutil/cmd_serialize.h" #include "libieee1394/ieee1394service.h" +#include <cerrno> #include <cstdlib> #include <cstring> @@ -77,7 +78,7 @@ main(int argc, char **argv) exit(0); } - int errno = 0; + errno = 0; char* tail; int node_id = strtol( argv[1], &tail, 0 ); int fb_id = strtol( argv[2], &tail, 0 ); Index: tests/test-mixer.cpp =================================================================== --- tests/test-mixer.cpp.orig +++ tests/test-mixer.cpp @@ -27,6 +27,7 @@ #include "debugmodule/debugmodule.h" #include "libieee1394/ieee1394service.h" +#include <cerrno> #include <string.h> DECLARE_GLOBAL_DEBUG_MODULE; @@ -227,7 +228,7 @@ main( int argc, char **argv ) exit(0); } - int errno = 0; + errno = 0; char* tail; int port = strtol( argv[1], &tail, 0 ); int node_id = strtol( argv[2], &tail, 0 ); Index: tests/test-pan.cpp =================================================================== --- tests/test-pan.cpp.orig +++ tests/test-pan.cpp @@ -26,6 +26,7 @@ #include "libutil/cmd_serialize.h" #include "libieee1394/ieee1394service.h" +#include <cerrno> const bool bVerbose = false; @@ -131,7 +132,7 @@ main(int argc, char **argv) exit(0); } - int errno = 0; + errno = 0; char* tail; int node_id = strtol( argv[1], &tail, 0 ); int fb_id = strtol( argv[2], &tail, 0 ); Index: tests/test-volume.cpp =================================================================== --- tests/test-volume.cpp.orig +++ tests/test-volume.cpp @@ -26,6 +26,7 @@ #include "libutil/cmd_serialize.h" #include "libieee1394/ieee1394service.h" +#include <cerrno> const bool bVerbose = false; @@ -127,7 +128,7 @@ main(int argc, char **argv) exit(0); } - int errno = 0; + errno = 0; char* tail; int node_id = strtol( argv[1], &tail, 0 ); int fb_id = strtol( argv[2], &tail, 0 );
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor