[arch-commits] Commit in log4cxx/repos (4 files)

2020-01-30 Thread Sergej Pupykin via arch-commits
Date: Thursday, January 30, 2020 @ 09:19:30
  Author: spupykin
Revision: 560102

archrelease: copy trunk to community-x86_64

Added:
  log4cxx/repos/community-x86_64/
  log4cxx/repos/community-x86_64/PKGBUILD
(from rev 560101, log4cxx/trunk/PKGBUILD)
  log4cxx/repos/community-x86_64/log4cxx-0.10.0-missing_includes.patch
(from rev 560101, log4cxx/trunk/log4cxx-0.10.0-missing_includes.patch)
  
log4cxx/repos/community-x86_64/log4cxx-0.10.0-narrowing-fixes-from-upstream.patch
(from rev 560101, 
log4cxx/trunk/log4cxx-0.10.0-narrowing-fixes-from-upstream.patch)

+
 PKGBUILD   |   35 +
 log4cxx-0.10.0-missing_includes.patch  |   38 ++
 log4cxx-0.10.0-narrowing-fixes-from-upstream.patch |  117 +++
 3 files changed, 190 insertions(+)

Copied: log4cxx/repos/community-x86_64/PKGBUILD (from rev 560101, 
log4cxx/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2020-01-30 09:19:30 UTC (rev 560102)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Sergej Pupykin 
+
+pkgname=log4cxx
+pkgver=0.10.0
+pkgrel=5
+pkgdesc="A C++ port of Log4j"
+url="http://logging.apache.org/log4cxx;
+license=("Apache")
+depends=('apr-util' 'libxml2')
+arch=('x86_64')
+makedepends=('autoconf' 'automake' 'libtool' 'patch' 'zip' 'gzip' 'sed')
+conflicts=('log4cxx-svn')
+source=("http://archive.apache.org/dist/logging/$pkgname/$pkgver/apache-$pkgname-$pkgver.tar.gz;
+'log4cxx-0.10.0-missing_includes.patch'
+'log4cxx-0.10.0-narrowing-fixes-from-upstream.patch')
+sha512sums=('1c34d80983db5648bc4582ddcf6b4fdefdc6594c2769f95235f5441cd6d03cf279cc8f365e9a687085b113f79ebac9d7d33a54b6aa3b3b808c0e1a56a15ffa37'
+
'14fa0b19516171cbbe2c6220816819fc52cf8f3b3ded5d71966e2f4a71bda9ce1ed8fe7e57745a835e6ac5558631916ed9824d09ec7469d84c7bf99fb4946304'
+
'15b692b37961adbc808e4c10d2719483502f3ac060ee5be248832d4e2a2f76f7d9e120ea9a6bf908230cf230a893964040e54415cca35a12e576d0a5ab1f4176')
+
+build() {
+  cd "$srcdir/apache-$pkgname-$pkgver"
+
+  patch -p1 < $startdir/log4cxx-0.10.0-missing_includes.patch
+  patch -p1 < $startdir/log4cxx-0.10.0-narrowing-fixes-from-upstream.patch
+
+  #./autogen.sh
+  ./configure --prefix=/usr --disable-static
+  make
+}
+
+package() {
+  cd "$srcdir/apache-$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" install
+}

Copied: log4cxx/repos/community-x86_64/log4cxx-0.10.0-missing_includes.patch 
(from rev 560101, log4cxx/trunk/log4cxx-0.10.0-missing_includes.patch)
===
--- community-x86_64/log4cxx-0.10.0-missing_includes.patch  
(rev 0)
+++ community-x86_64/log4cxx-0.10.0-missing_includes.patch  2020-01-30 
09:19:30 UTC (rev 560102)
@@ -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
+--- apache-log4cxx-0.10.0.orig/src/examples/cpp/console.cpp2008-04-01 
00:34:52.0 +0200
 apache-log4cxx-0.10.0/src/examples/cpp/console.cpp 2008-05-06 
05:40:52.0 +0200
+@@ -15,7 +15,10 @@
+  * limitations under the License.
+  */
+ 
+-#include 
++#include 
++#include 
++#include 
++#include 
+ #include 
+ #include 
+ #include 
+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.0 +0200
 apache-log4cxx-0.10.0/src/main/cpp/inputstreamreader.cpp   2008-05-06 
05:32:31.0 +0200
+@@ -21,6 +21,8 @@
+ #include 
+ #include 
+ 
++#include 
++
+ 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.0 +0200
 apache-log4cxx-0.10.0/src/main/cpp/socketoutputstream.cpp  2008-05-06 
05:35:55.0 +0200
+@@ -20,6 +20,8 @@
+ #include 
+ #include 
+ 
++#include 
++
+ using namespace log4cxx;
+ using namespace log4cxx::helpers;
\ No newline at end of file

Copied: 
log4cxx/repos/community-x86_64/log4cxx-0.10.0-narrowing-fixes-from-upstream.patch
 (from rev 560101, 
log4cxx/trunk/log4cxx-0.10.0-narrowing-fixes-from-upstream.patch)
===
--- community-x86_64/log4cxx-0.10.0-narrowing-fixes-from-upstream.patch 
(rev 0)
+++ community-x86_64/log4cxx-0.10.0-narrowing-fixes-from-upstream.patch 
2020-01-30 09:19:30 UTC (rev 560102)
@@ -0,0 +1,117 @@
+diff --git a/src/main/cpp/locationinfo.cpp b/src/main/cpp/locationinfo.cpp
+index e76ea29..bd22a1d 100644
+--- 

[arch-commits] Commit in log4cxx/repos (4 files)

2020-01-30 Thread Sergej Pupykin via arch-commits
Date: Thursday, January 30, 2020 @ 09:15:12
  Author: spupykin
Revision: 560081

archrelease: copy trunk to community-any

Added:
  log4cxx/repos/community-any/
  log4cxx/repos/community-any/PKGBUILD
(from rev 560079, log4cxx/trunk/PKGBUILD)
  log4cxx/repos/community-any/log4cxx-0.10.0-missing_includes.patch
(from rev 560080, log4cxx/trunk/log4cxx-0.10.0-missing_includes.patch)
  log4cxx/repos/community-any/log4cxx-0.10.0-narrowing-fixes-from-upstream.patch
(from rev 560080, 
log4cxx/trunk/log4cxx-0.10.0-narrowing-fixes-from-upstream.patch)

+
 PKGBUILD   |   34 +
 log4cxx-0.10.0-missing_includes.patch  |   38 ++
 log4cxx-0.10.0-narrowing-fixes-from-upstream.patch |  117 +++
 3 files changed, 189 insertions(+)

Copied: log4cxx/repos/community-any/PKGBUILD (from rev 560079, 
log4cxx/trunk/PKGBUILD)
===
--- community-any/PKGBUILD  (rev 0)
+++ community-any/PKGBUILD  2020-01-30 09:15:12 UTC (rev 560081)
@@ -0,0 +1,34 @@
+pkgname=log4cxx
+pkgver=0.10.0
+pkgrel=4
+pkgdesc="A C++ port of Log4j"
+url="http://logging.apache.org/log4cxx;
+license=("Apache")
+depends=('apr-util' 'libxml2')
+arch=('any')
+makedepends=('autoconf' 'automake' 'libtool' 'patch' 'zip' 'gzip' 'sed')
+provides=('log4cxx')
+conflicts=('log4cxx-svn')
+
+source=("http://archive.apache.org/dist/logging/$pkgname/$pkgver/apache-$pkgname-$pkgver.tar.gz;
+'log4cxx-0.10.0-missing_includes.patch'
+'log4cxx-0.10.0-narrowing-fixes-from-upstream.patch')
+sha512sums=('1c34d80983db5648bc4582ddcf6b4fdefdc6594c2769f95235f5441cd6d03cf279cc8f365e9a687085b113f79ebac9d7d33a54b6aa3b3b808c0e1a56a15ffa37'
+
'14fa0b19516171cbbe2c6220816819fc52cf8f3b3ded5d71966e2f4a71bda9ce1ed8fe7e57745a835e6ac5558631916ed9824d09ec7469d84c7bf99fb4946304'
+
'15b692b37961adbc808e4c10d2719483502f3ac060ee5be248832d4e2a2f76f7d9e120ea9a6bf908230cf230a893964040e54415cca35a12e576d0a5ab1f4176')
+
+build() {
+  cd "$srcdir/apache-$pkgname-$pkgver"
+
+  patch -p1 < $startdir/log4cxx-0.10.0-missing_includes.patch
+  patch -p1 < $startdir/log4cxx-0.10.0-narrowing-fixes-from-upstream.patch
+
+  #./autogen.sh
+  ./configure --prefix=/usr --disable-static
+  make
+}
+
+package() {
+  cd "$srcdir/apache-$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" install
+}

Copied: log4cxx/repos/community-any/log4cxx-0.10.0-missing_includes.patch (from 
rev 560080, log4cxx/trunk/log4cxx-0.10.0-missing_includes.patch)
===
--- community-any/log4cxx-0.10.0-missing_includes.patch 
(rev 0)
+++ community-any/log4cxx-0.10.0-missing_includes.patch 2020-01-30 09:15:12 UTC 
(rev 560081)
@@ -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
+--- apache-log4cxx-0.10.0.orig/src/examples/cpp/console.cpp2008-04-01 
00:34:52.0 +0200
 apache-log4cxx-0.10.0/src/examples/cpp/console.cpp 2008-05-06 
05:40:52.0 +0200
+@@ -15,7 +15,10 @@
+  * limitations under the License.
+  */
+ 
+-#include 
++#include 
++#include 
++#include 
++#include 
+ #include 
+ #include 
+ #include 
+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.0 +0200
 apache-log4cxx-0.10.0/src/main/cpp/inputstreamreader.cpp   2008-05-06 
05:32:31.0 +0200
+@@ -21,6 +21,8 @@
+ #include 
+ #include 
+ 
++#include 
++
+ 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.0 +0200
 apache-log4cxx-0.10.0/src/main/cpp/socketoutputstream.cpp  2008-05-06 
05:35:55.0 +0200
+@@ -20,6 +20,8 @@
+ #include 
+ #include 
+ 
++#include 
++
+ using namespace log4cxx;
+ using namespace log4cxx::helpers;
\ No newline at end of file

Copied: 
log4cxx/repos/community-any/log4cxx-0.10.0-narrowing-fixes-from-upstream.patch 
(from rev 560080, 
log4cxx/trunk/log4cxx-0.10.0-narrowing-fixes-from-upstream.patch)
===
--- community-any/log4cxx-0.10.0-narrowing-fixes-from-upstream.patch
(rev 0)
+++ community-any/log4cxx-0.10.0-narrowing-fixes-from-upstream.patch
2020-01-30 09:15:12 UTC (rev 560081)
@@ -0,0 +1,117 @@
+diff --git a/src/main/cpp/locationinfo.cpp b/src/main/cpp/locationinfo.cpp
+index e76ea29..bd22a1d 100644
+--- a/src/main/cpp/locationinfo.cpp
 b/src/main/cpp/locationinfo.cpp