diff options
Diffstat (limited to 'recipes/log4cxx')
-rw-r--r-- | recipes/log4cxx/log4cxx/log4cxx097.patch | 48 | ||||
-rw-r--r-- | recipes/log4cxx/log4cxx_0.9.7.bb | 19 |
2 files changed, 67 insertions, 0 deletions
diff --git a/recipes/log4cxx/log4cxx/log4cxx097.patch b/recipes/log4cxx/log4cxx/log4cxx097.patch new file mode 100644 index 0000000000..86b6effdb0 --- /dev/null +++ b/recipes/log4cxx/log4cxx/log4cxx097.patch @@ -0,0 +1,48 @@ +--- log4cxx-0.9.7/src/socketoutputstream.cpp~ 2009-05-21 10:06:47.000000000 +0100 ++++ log4cxx-0.9.7/src/socketoutputstream.cpp 2009-05-21 10:06:47.000000000 +0100 +@@ -13,7 +13,8 @@ + * See the License for the specific language governing permissions and + * limitations under the License. + */ +- ++ ++#include <string.h> + #include <log4cxx/helpers/socketoutputstream.h> + #include <log4cxx/helpers/socket.h> + #include <log4cxx/helpers/loglog.h> + +--- log4cxx-0.9.7/src/stringtokenizer.cpp~ 2009-05-21 10:11:19.000000000 +0100 ++++ log4cxx-0.9.7/src/stringtokenizer.cpp 2009-05-21 10:11:20.000000000 +0100 +@@ -13,7 +13,8 @@ + * See the License for the specific language governing permissions and + * limitations under the License. + */ +- ++ ++#include <string.h> + #include <log4cxx/helpers/stringtokenizer.h> + + using namespace log4cxx; + +--- log4cxx-0.9.7/src/timezone.cpp~ 2009-05-21 10:14:27.000000000 +0100 ++++ log4cxx-0.9.7/src/timezone.cpp 2009-05-21 10:14:27.000000000 +0100 +@@ -13,7 +13,8 @@ + * See the License for the specific language governing permissions and + * limitations under the License. + */ +- ++ ++#include <string.h> + #include <log4cxx/helpers/timezone.h> + #include <locale> + +--- log4cxx-0.9.7/src/xmlsocketappender.cpp~ 2009-05-21 10:16:24.000000000 +0100 ++++ log4cxx-0.9.7/src/xmlsocketappender.cpp 2009-05-21 10:16:25.000000000 +0100 +@@ -14,6 +14,7 @@ + * limitations under the License. + */ + ++#include <string.h> + #include <log4cxx/net/xmlsocketappender.h> + #include <log4cxx/helpers/loglog.h> + #include <log4cxx/helpers/socketoutputstream.h> diff --git a/recipes/log4cxx/log4cxx_0.9.7.bb b/recipes/log4cxx/log4cxx_0.9.7.bb new file mode 100644 index 0000000000..4817163e1f --- /dev/null +++ b/recipes/log4cxx/log4cxx_0.9.7.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "Apache logging framework for C++ library" +SECTION = "libs" +DEPENDS = "apr apr-util expat gdbm" +LICENSE = "Apache License, Version 2.0" +HOMEPAGE = "http://logging.apache.org/log4cxx/" +# PV = "0.10.0" +PR = "r1" + +SRC_URI = "http://archive.apache.org/dist/logging/log4cxx/log4cxx-0.9.7.tar.gz \ + file://log4cxx097.patch;patch=1" + +#build this: +S = "${WORKDIR}/${PN}-${PV}" + +inherit autotools pkgconfig + +do_stage() { + autotools_stage_all +} |