SHA256
8
0
forked from pool/log4cpp

Accepting request 434146 from home:adamm:branches:devel:libraries:c_c++

- update to version 1.1.2rc3
  + fix std::terminate() call on bad category name component count
    in PatternLayout 
  + fix std::terminate() call on bad root category priority name
    in config file 
  + remove RollingFileAppend prints log name to std::cout
- fix_sle11_build.patch: fix building on SLE11

OBS-URL: https://build.opensuse.org/request/show/434146
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/log4cpp?expand=0&rev=8
This commit is contained in:
2016-10-10 20:42:26 +00:00
committed by Git OBS Bridge
parent 5cd3096d17
commit 0b030d7e8d
5 changed files with 43 additions and 5 deletions

20
fix_sle11_build.patch Normal file
View File

@@ -0,0 +1,20 @@
Summary: Remove extra ; that prevents building on SLE11
Index: log4cpp/src/Appender.cpp
===================================================================
--- log4cpp.orig/src/Appender.cpp
+++ log4cpp/src/Appender.cpp
@@ -18,11 +18,11 @@ namespace log4cpp {
Appender::AppenderMapStorage::AppenderMapStorage() {
_allAppenders = new AppenderMap();
- };
+ }
Appender::AppenderMapStorage::~AppenderMapStorage() {
_deleteAllAppenders();
delete _allAppenders;
- };
+ }
Appender::AppenderMapStorageInitializer::AppenderMapStorageInitializer() {
if (appenders_nifty_counter++ == 0) {

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fa46bf54bac2bbbec772e0d057817d31dd57bcf01f00bb6d7e9970bd6fc05264
size 593348

3
log4cpp-1.1.2rc3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7d210517b7afe04a7238b0bd3a0bf504575ffa097a6c0eca02fc69a31b4763cd
size 580644

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Oct 10 15:33:28 UTC 2016 - adam.majer@suse.de
- update to version 1.1.2rc3
+ fix std::terminate() call on bad category name component count
in PatternLayout
+ fix std::terminate() call on bad root category priority name
in config file
+ remove RollingFileAppend prints log name to std::cout
- fix_sle11_build.patch: fix building on SLE11
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jul 2 16:47:28 UTC 2016 - jengelh@inai.de Sat Jul 2 16:47:28 UTC 2016 - jengelh@inai.de

View File

@@ -17,13 +17,19 @@
Name: log4cpp Name: log4cpp
Version: 1.1.2~rc2 %if 0%{suse_version} >= 1310
Version: 1.1.2~rc3
Release: 0 Release: 0
%else
Version: 1.1.2
Release: 0
%endif
Summary: C++ logging library Summary: C++ logging library
License: LGPL-2.1 License: LGPL-2.1
Group: Development/Languages/C and C++ Group: Development/Languages/C and C++
Url: http://log4cpp.sourceforge.net/ Url: http://log4cpp.sourceforge.net/
Source: %{name}-1.1.2rc2.tar.gz Source: %{name}-1.1.2rc3.tar.gz
Patch1: fix_sle11_build.patch
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: pkg-config BuildRequires: pkg-config
@@ -63,6 +69,7 @@ the popular doxygen documentation generation tool.
%prep %prep
%setup -q -n %{name} %setup -q -n %{name}
%patch1 -p1
%build %build
%configure --enable-doxygen --disable-static %configure --enable-doxygen --disable-static