New package: log4cxx-0.10.0
This commit is contained in:
parent
817cbe3d13
commit
06048c57a0
4 changed files with 64 additions and 0 deletions
|
@ -2335,3 +2335,4 @@ libopenshot.so.6 libopenshot-0.0.9_1
|
|||
libavresample.so.2 libavresample-2.8.5_3
|
||||
libpqxx-4.0.so libpqxx-4.0.1_1
|
||||
libndpi.so.1 ndpi-1.6_1
|
||||
liblog4cxx.so.10 log4cxx-0.10.0_1
|
||||
|
|
1
srcpkgs/log4cxx-devel
Symbolic link
1
srcpkgs/log4cxx-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
log4cxx
|
38
srcpkgs/log4cxx/patches/missing-includes.patch
Normal file
38
srcpkgs/log4cxx/patches/missing-includes.patch
Normal file
|
@ -0,0 +1,38 @@
|
|||
diff -Naur apache-log4cxx-0.10.0.orig/src/examples/cpp/console.cpp apache-log4cxx-0.10.0/src/examples/cpp/console.cpp
|
||||
--- src/examples/cpp/console.cpp 2008-04-01 00:34:52.000000000 +0200
|
||||
+++ src/examples/cpp/console.cpp 2008-05-06 05:40:52.000000000 +0200
|
||||
@@ -15,7 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
-#include <stdlib.h>
|
||||
+#include <cstdio>
|
||||
+#include <cstdlib>
|
||||
+#include <cstring>
|
||||
+#include <stdint.h>
|
||||
#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
|
||||
--- src/main/cpp/inputstreamreader.cpp 2008-04-01 00:34:09.000000000 +0200
|
||||
+++ 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 src/main/cpp/socketoutputstream.cpp apache-log4cxx-0.10.0/src/main/cpp/socketoutputstream.cpp
|
||||
--- src/main/cpp/socketoutputstream.cpp 2008-04-01 00:34:09.000000000 +0200
|
||||
+++ 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;
|
24
srcpkgs/log4cxx/template
Normal file
24
srcpkgs/log4cxx/template
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Template file for 'log4cxx'
|
||||
pkgname=log4cxx
|
||||
version=0.10.0
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
makedepends="libxml2-devel apr-devel apr-util-devel gdbm-devel"
|
||||
short_desc="A C++ Logging Library based on Log4J"
|
||||
maintainer="John Regan <john@jrjrtech.com>"
|
||||
license="Apache-2"
|
||||
homepage="https://logging.apache.org/log4cxx/"
|
||||
distfiles="http://apache.osuosl.org/logging/log4cxx/${version}/apache-log4cxx-${version}.tar.gz"
|
||||
checksum=0de0396220a9566a580166e66b39674cb40efd2176f52ad2c65486c99c920c8c
|
||||
wrksrc="apache-${pkgname}-${version}"
|
||||
|
||||
log4cxx-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/*.a
|
||||
vmove usr/lib/*.so
|
||||
vmove usr/lib/pkgconfig
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue