diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-07-27 03:46:51 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-07-27 03:46:51 +0300 |
commit | d66064198726b71c0323d7f525ce3654a4c1425e (patch) | |
tree | 44f7341d781f3060792d7b9dd1c0242458330f60 /packages/dev-libs/log4cxx/files/log4cxx-0.10.0-missing_includes.patch | |
parent | edc354354d0de0ed356e28efdb667016e3288c21 (diff) |
added log4cxx, spectrum
Diffstat (limited to 'packages/dev-libs/log4cxx/files/log4cxx-0.10.0-missing_includes.patch')
-rw-r--r-- | packages/dev-libs/log4cxx/files/log4cxx-0.10.0-missing_includes.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/packages/dev-libs/log4cxx/files/log4cxx-0.10.0-missing_includes.patch b/packages/dev-libs/log4cxx/files/log4cxx-0.10.0-missing_includes.patch new file mode 100644 index 0000000..78a5791 --- /dev/null +++ b/packages/dev-libs/log4cxx/files/log4cxx-0.10.0-missing_includes.patch @@ -0,0 +1,37 @@ +diff -Naur apache-log4cxx-0.10.0.orig/src/examples/cpp/console.cpp apache-log4cxx-0.10.0/src/examples/cpp/console.cpp +--- apache-log4cxx-0.10.0.orig/src/examples/cpp/console.cpp 2008-04-01 00:34:52.000000000 +0200 ++++ apache-log4cxx-0.10.0/src/examples/cpp/console.cpp 2008-05-06 05:40:52.000000000 +0200 +@@ -15,7 +15,8 @@ + * limitations under the License. + */ + +-#include <stdlib.h> ++#include <cstdlib> ++#include <cstring> + #include <log4cxx/logger.h> + #include <log4cxx/consoleappender.h> + #include <log4cxx/simplelayout.h> +diff -Naur apache-log4cxx-0.10.0.orig/src/main/cpp/inputstreamreader.cpp apache-log4cxx-0.10.0/src/main/cpp/inputstreamreader.cpp +--- apache-log4cxx-0.10.0.orig/src/main/cpp/inputstreamreader.cpp 2008-04-01 00:34:09.000000000 +0200 ++++ apache-log4cxx-0.10.0/src/main/cpp/inputstreamreader.cpp 2008-05-06 05:32:31.000000000 +0200 +@@ -21,6 +21,8 @@ + #include <log4cxx/helpers/pool.h> + #include <log4cxx/helpers/bytebuffer.h> + ++#include <cstring> ++ + using namespace log4cxx; + using namespace log4cxx::helpers; + +diff -Naur apache-log4cxx-0.10.0.orig/src/main/cpp/socketoutputstream.cpp apache-log4cxx-0.10.0/src/main/cpp/socketoutputstream.cpp +--- apache-log4cxx-0.10.0.orig/src/main/cpp/socketoutputstream.cpp 2008-04-01 00:34:09.000000000 +0200 ++++ apache-log4cxx-0.10.0/src/main/cpp/socketoutputstream.cpp 2008-05-06 05:35:55.000000000 +0200 +@@ -20,6 +20,8 @@ + #include <log4cxx/helpers/socket.h> + #include <log4cxx/helpers/bytebuffer.h> + ++#include <cstring> ++ + using namespace log4cxx; + using namespace log4cxx::helpers; + |