summaryrefslogtreecommitdiff
path: root/community/log4cpp
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-30 00:36:52 -0700
committerroot <root@rshg054.dnsready.net>2013-04-30 00:36:52 -0700
commit08483ba66f8da1bbec05f93e5e3493d3794c02bb (patch)
tree5cb63763dcb39b1b59aa5388f1bbe10ccc50f3a2 /community/log4cpp
parentbab69e0f720c6f189c4486b7b945079be23f0a4b (diff)
Tue Apr 30 00:36:52 PDT 2013
Diffstat (limited to 'community/log4cpp')
-rw-r--r--community/log4cpp/PKGBUILD18
-rw-r--r--community/log4cpp/gcc43.patch26
2 files changed, 8 insertions, 36 deletions
diff --git a/community/log4cpp/PKGBUILD b/community/log4cpp/PKGBUILD
index 21bfddf37..3ac6c659b 100644
--- a/community/log4cpp/PKGBUILD
+++ b/community/log4cpp/PKGBUILD
@@ -1,29 +1,27 @@
-# $Id: PKGBUILD 58314 2011-11-11 08:13:40Z stativ $
+# $Id: PKGBUILD 89526 2013-04-29 18:41:08Z stativ $
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
# Contributor : Geraud Le Falher <daureg@gmail.com>
pkgname=log4cpp
-pkgver=1.0
-pkgrel=6
+pkgver=1.1
+pkgrel=1
pkgdesc="A library of C++ classes for flexible logging to files, syslog, IDSA and other destinations."
arch=('i686' 'x86_64')
-url="http://log4cpp.hora-obscura.de/"
+url="http://log4cpp.sourceforge.net/"
license=('LGPL')
depends=('gcc-libs')
options=('!libtool')
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz gcc43.patch)
-md5sums=('1face50ead0790d1297dfb04bacf273c'
- '09a6fd8ab6527a417c97c4db5215e558')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('b9ef6244baa5e5e435f35e0b9474b35d')
build() {
- cd "$srcdir/$pkgname-$pkgver"
- patch -Np1 -i "$srcdir"/gcc43.patch
+ cd "$srcdir/$pkgname"
./configure --prefix=/usr --disable-doxygen --disable-dot --without-idsa
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir" install
}
diff --git a/community/log4cpp/gcc43.patch b/community/log4cpp/gcc43.patch
deleted file mode 100644
index a60f986e9..000000000
--- a/community/log4cpp/gcc43.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Index: log4cpp-1.0/src/BasicLayout.cpp
-===================================================================
---- log4cpp-1.0.orig/src/BasicLayout.cpp 2008-03-14 16:06:57.000000000 -0400
-+++ log4cpp-1.0/src/BasicLayout.cpp 2008-03-14 16:07:11.000000000 -0400
-@@ -15,6 +15,8 @@
- #include <sstream>
- #endif
-
-+#include <memory>
-+
- namespace log4cpp {
-
- BasicLayout::BasicLayout() {
-Index: log4cpp-1.0/src/PatternLayout.cpp
-===================================================================
---- log4cpp-1.0.orig/src/PatternLayout.cpp 2008-03-14 16:07:33.000000000 -0400
-+++ log4cpp-1.0/src/PatternLayout.cpp 2008-03-14 16:07:49.000000000 -0400
-@@ -370,7 +370,7 @@
- literal = "";
- }
- if ((minWidth != 0) || (maxWidth != 0)) {
-- component = new FormatModifierComponent(component, std::abs(minWidth), maxWidth, minWidth < 0);
-+ component = new FormatModifierComponent(component, std::abs((float)minWidth), maxWidth, minWidth < 0);
- minWidth = maxWidth = 0;
- }
- _components.push_back(component);