Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package heaptrack for openSUSE:Factory 
checked in at 2023-02-22 15:21:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/heaptrack (Old)
 and      /work/SRC/openSUSE:Factory/.heaptrack.new.1706 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "heaptrack"

Wed Feb 22 15:21:53 2023 rev:11 rq:1067140 version:1.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/heaptrack/heaptrack.changes      2023-02-08 
17:20:38.494045776 +0100
+++ /work/SRC/openSUSE:Factory/.heaptrack.new.1706/heaptrack.changes    
2023-02-22 15:21:58.053990942 +0100
@@ -1,0 +2,7 @@
+Wed Feb 22 10:57:50 UTC 2023 - Christophe Marin <christo...@krop.fr>
+
+- Add upstream change:
+  * 0001-Return-early-when-__libc_dlopen_mode-is-detected.patch
+- Define _filter_GLIBC_PRIVATE to fix installation on Leap
+
+-------------------------------------------------------------------

New:
----
  0001-Return-early-when-__libc_dlopen_mode-is-detected.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ heaptrack.spec ++++++
--- /var/tmp/diff_new_pack.yBOTMf/_old  2023-02-22 15:21:58.541993710 +0100
+++ /var/tmp/diff_new_pack.yBOTMf/_new  2023-02-22 15:21:58.545993732 +0100
@@ -17,6 +17,8 @@
 
 
 %define kf5_version 5.26.0
+# Needed for Leap see boo#468748
+%define _filter_GLIBC_PRIVATE 1
 %bcond_without released
 Name:           heaptrack
 Version:        1.4.0
@@ -33,6 +35,8 @@
 Patch0:         0001-Fix-build-with-gcc-13-by-including-cstdint.patch
 # PATCH-FIX-UPSTREAM
 Patch1:         0001-Add-missing-include.patch
+# PATCH-FIX-UPSTREAM
+Patch2:         0001-Return-early-when-__libc_dlopen_mode-is-detected.patch
 BuildRequires:  extra-cmake-modules
 BuildRequires:  kf5-filesystem
 BuildRequires:  libboost_container-devel

++++++ 0001-Return-early-when-__libc_dlopen_mode-is-detected.patch ++++++
>From 161bd9f7f352cbc24f36e37f9686d18f5d40c268 Mon Sep 17 00:00:00 2001
From: Milian Wolff <m...@milianw.de>
Date: Mon, 11 Jul 2022 15:54:56 +0200
Subject: [PATCH] Return early when __libc_dlopen_mode is detected

---
 src/track/heaptrack_env.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/track/heaptrack_env.cpp b/src/track/heaptrack_env.cpp
index b48e384..36da2ff 100644
--- a/src/track/heaptrack_env.cpp
+++ b/src/track/heaptrack_env.cpp
@@ -26,6 +26,7 @@ void dlopenLine(const char* lib)
     if (&__libc_dlopen_mode) {
         // __libc_dlopen_mode was available directly in glibc before libdl got 
merged into it
         fprintf(stdout, "__libc_dlopen_mode(\"%s\", 0x80000000 | 0x002)\n", 
lib);
+        return;
     }
 
 #ifdef __USE_GNU
-- 
2.39.2

Reply via email to