public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Till Hofmann <thofmann@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/log4cxx] rawhide: Update to 1.8.0
Date: Thu, 20 Aug 2026 18:01:51 GMT	[thread overview]
Message-ID: <178724891165.1.329583630934305646.rpms-log4cxx-e9e83bd3e9fe@fedoraproject.org> (raw)

            A new commit has been pushed.

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

            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>

---
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

                 reply	other threads:[~2026-08-20 18:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178724891165.1.329583630934305646.rpms-log4cxx-e9e83bd3e9fe@fedoraproject.org \
    --to=thofmann@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox