Package: poco / 1.9.0-5

Metadata

Package Version Patches format
poco 1.9.0-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0008 Use null as device file as console might not be ther.patch | (download)

Foundation/testsuite/src/FileTest.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 use null as device file as console might not be there


Add m68k to Double Conversion.patch | (download)

Foundation/src/utils.h | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 add m68k as target architecture to double conversion
0004 Disable failing tests.patch | (download)

Crypto/CMakeLists.txt | 2 1 + 1 - 0 !
Data/SQLite/CMakeLists.txt | 2 1 + 1 - 0 !
MongoDB/CMakeLists.txt | 2 1 + 1 - 0 !
Net/CMakeLists.txt | 2 1 + 1 - 0 !
NetSSL_OpenSSL/CMakeLists.txt | 2 1 + 1 - 0 !
Redis/CMakeLists.txt | 2 1 + 1 - 0 !
Util/CMakeLists.txt | 2 1 + 1 - 0 !
7 files changed, 7 insertions(+), 7 deletions(-)

 disable failing tests


0005 Includes not available on Hurd.patch | (download)

Foundation/src/Clock.cpp | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 includes not available on hurd


0006 fp support environments without hardware floating po.patch | (download)

Foundation/include/Poco/FPEnvironment_C99.h | 36 36 + 0 - 0 !
1 file changed, 36 insertions(+)

 fp: support environments without hardware floating point

| cd <build>/Foundation && \
|    mipsel-poky-linux-musl-g++   -DFoundation_EXPORTS -DHAVE_PTHREAD_SETAFFINITY_NP -DHAVE_THREE_PARAM_SCHED_SETAFFINITY \
|         -DPCRE_STATIC -DPOCO_HAVE_FD_EPOLL -DPOCO_NO_AUTOMATIC_LIBS -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED \
|         -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 \
|         -I<sysroot>/usr/include -I<poco>/Foundation/include -I<poco>/Foundation/src  \
|         -mel -mabi=32 -msoft-float -march=mips32r2 -mno-mips16  -minterlink-compressed -mtune=24kec -mdsp  \
|         --sysroot=<sysroot> -O2 -pipe -g -feliminate-unused-debug-types \
|         -fstack-protector-strong -pie -fpie -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security \
|         -fvisibility-inlines-hidden  -mel -mabi=32 -msoft-float -march=mips32r2 -mno-mips16  -minterlink-compressed \
|         -mtune=24kec -mdsp  --sysroot=<sysroot> -O2 -g -DNDEBUG -fPIC   \
|         -o CMakeFiles/Foundation.dir/src/ArchiveStrategy.cpp.o \
|         -c <poco>/Foundation/src/ArchiveStrategy.cpp
| In file included from <poco>/Foundation/include/Poco/FPEnvironment.h:33:0,
|                  from <poco>/Foundation/include/Poco/NumericString.h:25,
|                  from <poco>/Foundation/include/Poco/NumberFormatter.h:24,
|                  from <poco>/Foundation/include/Poco/ArchiveStrategy.h:27,
|                  from <poco>/Foundation/src/ArchiveStrategy.cpp:17:
| <poco>/Foundation/include/Poco/FPEnvironment_C99.h:36:30: error: 'FE_DOWNWARD' was not declared in this scope
|    FP_ROUND_DOWNWARD_IMPL   = FE_DOWNWARD,
|                               ^~~~~~~~~~~
| <poco>/Foundation/include/Poco/FPEnvironment_C99.h:37:30: error: 'FE_UPWARD' was not declared in this scope
|    FP_ROUND_UPWARD_IMPL     = FE_UPWARD,
|                               ^~~~~~~~~
| <poco>/Foundation/include/Poco/FPEnvironment_C99.h:39:30: error: 'FE_TOWARDZERO' was not declared in this scope
|    FP_ROUND_TOWARDZERO_IMPL = FE_TOWARDZERO
|                               ^~~~~~~~~~~~~
| <poco>/Foundation/include/Poco/FPEnvironment_C99.h:43:28: error: 'FE_DIVBYZERO' was not declared in this scope
|    FP_DIVIDE_BY_ZERO_IMPL = FE_DIVBYZERO,
|                             ^~~~~~~~~~~~
| <poco>/Foundation/include/Poco/FPEnvironment_C99.h:44:28: error: 'FE_INEXACT' was not declared in this scope
|    FP_INEXACT_IMPL        = FE_INEXACT,
|                             ^~~~~~~~~~
| <poco>/Foundation/include/Poco/FPEnvironment_C99.h:45:28: error: 'FE_OVERFLOW' was not declared in this scope
|    FP_OVERFLOW_IMPL       = FE_OVERFLOW,
|                             ^~~~~~~~~~~
| <poco>/Foundation/include/Poco/FPEnvironment_C99.h:46:28: error: 'FE_UNDERFLOW' was not declared in this scope
|    FP_UNDERFLOW_IMPL      = FE_UNDERFLOW,
|                             ^~~~~~~~~~~~
| <poco>/Foundation/include/Poco/FPEnvironment_C99.h:47:28: error: 'FE_INVALID' was not declared in this scope
|    FP_INVALID_IMPL        = FE_INVALID
|                             ^~~~~~~~~~

The reason is that some (notably FPU-less) architectures,
including mips*-nf, don't define/implement some of the
floating point constants, even though fenv.h is
available.

The key point is:
  A fully standards conforming fenv.h does not have to
  define any FE_* macros, and if it does define them,
  then it defines macros only for the FP exceptions it
  actually supports.

See similar issue in boost:
  https://svn.boost.org/trac/boost/ticket/11756

0007 Switch FreeBSD to poll.patch | (download)

cmake/DefinePlatformSpecifc.cmake | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 switch freebsd to poll


0009 Link against dl on FreeBSD.patch | (download)

Foundation/CMakeLists.txt | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 link against dl and rt on freebsd


MySQL 5.7 compatibility.patch | (download)

cmake/FindMySQL.cmake | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 find libmysqlclient instead of the obsolete libmysqlclient_r
0009 riscv64 add support.patch | (download)

Foundation/include/Poco/Platform.h | 4 4 + 0 - 0 !
Foundation/src/utils.h | 1 1 + 0 - 0 !
2 files changed, 5 insertions(+)

 riscv64: add support


0010 Don t try to install non existing Encodings testsuit.patch | (download)

Encodings/testsuite/CMakeLists.txt | 5 1 + 4 - 0 !
1 file changed, 1 insertion(+), 4 deletions(-)

 don't try to install non existing encodings/testsuite/data


0011 Add GNU Hurd support.patch | (download)

Foundation/CMakeLists.txt | 6 3 + 3 - 0 !
Foundation/include/Poco/NamedEvent_UNIX.h | 4 2 + 2 - 0 !
Foundation/include/Poco/NamedMutex_UNIX.h | 4 2 + 2 - 0 !
Foundation/src/Environment_UNIX.cpp | 48 48 + 0 - 0 !
Foundation/src/Mutex_POSIX.cpp | 4 2 + 2 - 0 !
Foundation/src/NamedEvent_UNIX.cpp | 12 6 + 6 - 0 !
Foundation/src/NamedMutex_UNIX.cpp | 14 7 + 7 - 0 !
cmake/DefinePlatformSpecifc.cmake | 2 1 + 1 - 0 !
8 files changed, 71 insertions(+), 23 deletions(-)

 add gnu hurd support


0012 Replace my_bool by int for MySQL 8.0.patch | (download)

Data/MySQL/include/Poco/Data/MySQL/ResultMetadata.h | 4 4 + 0 - 0 !
Data/MySQL/src/Extractor.cpp | 4 4 + 0 - 0 !
Data/MySQL/src/SessionHandle.cpp | 4 4 + 0 - 0 !
3 files changed, 12 insertions(+)

 replace my_bool by int for mysql 8.0


0013 Workaround for failing tests.patch | (download)

Foundation/testsuite/CMakeLists.txt | 1 1 + 0 - 0 !
Foundation/testsuite/src/PatternFormatterTest.cpp | 1 0 + 1 - 0 !
Foundation/testsuite/src/TimerTest.cpp | 1 0 + 1 - 0 !
3 files changed, 1 insertion(+), 2 deletions(-)

 workaround for failing tests