public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/log4cxx] f44: Update to 1.8.0
@ 2026-08-20 18:14 Till Hofmann
  0 siblings, 0 replies; only message in thread
From: Till Hofmann @ 2026-08-20 18:14 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/log4cxx
            Branch : f44
            Commit : f8f6fb3619f4f2c632ee607a259a17ea911affe2
            Author : Till Hofmann <thofmann@fedoraproject.org>
            Date   : 2026-08-20T20:04:14+02:00
            Stats  : +4/-27 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/log4cxx/c/f8f6fb3619f4f2c632ee607a259a17ea911affe2?branch=f44

            Log:
            Update to 1.8.0

rhbz#2520274

Drop log4cxx-1.7.0-skip-2gb-test-on-32bit.patch: upstream now guards
test2GbMessageFormatting with ENABLE_2GB_STRING_TESTING, which is only
defined for LOG4CXX_TEST_ONLY_BUILD builds, so the test no longer runs
here and cannot fail on 32-bit architectures.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
(cherry picked from commit e9e83bd3e9fe0d32eeb1ff58e50d1f54218219a8)

---
diff --git a/.gitignore b/.gitignore
index 385bb2c..d4c4e55 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@ apache-log4cxx-0.10.0.tar.gz
 /apache-log4cxx-1.5.0.tar.gz
 /apache-log4cxx-1.6.1.tar.gz
 /apache-log4cxx-1.7.0.tar.gz
+/apache-log4cxx-1.8.0.tar.gz

diff --git a/log4cxx-1.7.0-skip-2gb-test-on-32bit.patch b/log4cxx-1.7.0-skip-2gb-test-on-32bit.patch
deleted file mode 100644
index f956389..0000000
--- a/log4cxx-1.7.0-skip-2gb-test-on-32bit.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- a/src/test/cpp/patternlayouttest.cpp	2026-07-03 08:52:48.586698382 +0200
-+++ b/src/test/cpp/patternlayouttest.cpp	2026-07-03 08:52:55.522953067 +0200
-@@ -40,6 +40,7 @@
- #include "logunit.h"
- #include <log4cxx/spi/loggerrepository.h>
- #include <log4cxx/helpers/stringhelper.h>
-+#include <cstdint>
- 
- 
- #define REGEX_STR(x) x
-@@ -63,7 +64,10 @@
- LOGUNIT_CLASS(PatternLayoutTest)
- {
- 	LOGUNIT_TEST_SUITE(PatternLayoutTest);
-+#if UINTPTR_MAX > 0xFFFFFFFF
-+	// Allocating a > 2GB LogString is only feasible in a 64-bit address space
- 	LOGUNIT_TEST(test2GbMessageFormatting);
-+#endif
- 	LOGUNIT_TEST(test1);
- 	LOGUNIT_TEST(test2);
- 	LOGUNIT_TEST(test3);

diff --git a/log4cxx.spec b/log4cxx.spec
index 9e24b85..55760e5 100644
--- a/log4cxx.spec
+++ b/log4cxx.spec
@@ -1,16 +1,13 @@
 %global sover 15
 
 Name: log4cxx
-Version: 1.7.0
+Version: 1.8.0
 Release: %autorelease
 Summary: A port to C++ of the Log4j project
 
 License: Apache-2.0
 URL: http://logging.apache.org/log4cxx/index.html
 Source0: http://www.apache.org/dist/logging/log4cxx/%{version}/apache-%{name}-%{version}.tar.gz
-# test2GbMessageFormatting allocates a >2GB string, which cannot succeed in a
-# 32-bit address space; skip it there instead of failing the whole test suite
-Patch0: %{name}-1.7.0-skip-2gb-test-on-32bit.patch
 
 BuildRequires: apr-devel
 BuildRequires: apr-util-devel
@@ -42,7 +39,7 @@ Documentation for %{name}.
 
 
 %prep
-%autosetup -n apache-%{name}-%{version} -p1
+%autosetup -n apache-%{name}-%{version}
 
 %build
 %cmake -DBUILD_SITE=ON

diff --git a/sources b/sources
index d4491aa..17d2873 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (apache-log4cxx-1.7.0.tar.gz) = 0e94946457423689af6d85074ab97b717e0cec85a4f548e6650b060e8f98b780f980b7d4a7780410fa64681376fb4bc62fab6ed9068fc944e07f9f32ac0413af
+SHA512 (apache-log4cxx-1.8.0.tar.gz) = 2647b930c3d8d3f55b586943d691f0b40ef1c96276a95bbcb72a49db4130d690703d4f755faee2f5835684587a66ab04a0f715d1e4bfb1ae43da466804e7a879

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-20 18:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-20 18:14 [rpms/log4cxx] f44: Update to 1.8.0 Till Hofmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox