diff options
| author | CoprDistGit <infra@openeuler.org> | 2024-08-23 03:37:09 +0000 | 
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2024-08-23 03:37:09 +0000 | 
| commit | 596daac89257421753228f565cae3e0e3d1100c2 (patch) | |
| tree | ea8dbf804597218ad3a3b815d5972c28ebf47025 | |
| parent | 2d10446c47c348fbb8c32193354763331743ba14 (diff) | |
automatic import of gc
| -rw-r--r-- | gc-8.2.6-make-atomic_ops_private.patch | 10 | ||||
| -rw-r--r-- | gc.spec | 6 | 
2 files changed, 15 insertions, 1 deletions
diff --git a/gc-8.2.6-make-atomic_ops_private.patch b/gc-8.2.6-make-atomic_ops_private.patch new file mode 100644 index 0000000..6437575 --- /dev/null +++ b/gc-8.2.6-make-atomic_ops_private.patch @@ -0,0 +1,10 @@ +--- gc-8.2.6/bdw-gc.pc.in.orig	2024-08-23 11:31:18.009298200 +0800 ++++ gc-8.2.6/bdw-gc.pc.in	2024-08-23 11:32:17.714253900 +0800 +@@ -6,5 +6,6 @@ + Name: Boehm-Demers-Weiser Conservative Garbage Collector + Description: A garbage collector for C and C++ + Version: @PACKAGE_VERSION@ +-Libs: -L${libdir} @ATOMIC_OPS_LIBS@ -lgc @THREADDLLIBS@ ++Libs: -L${libdir} -lgc @THREADDLLIBS@ ++Libs.private: @ATOMIC_OPS_LIBS@ + Cflags: -I${includedir} @@ -1,12 +1,13 @@  Name:    gc  Version: 8.2.6 -Release: 2 +Release: 3  Summary: A garbage collector for C and C++  License: BSD-3-Clause  Url:     http://www.hboehm.info/gc/  Source0: https://github.com/ivmai/bdwgc/releases/download/v%{version}/gc-%{version}.tar.gz  Patch1:  gc-8.0.6-sw.patch  Patch2:  0001-add-loongarch-architecture.patch +Patch3:  gc-8.2.6-make-atomic_ops_private.patch  BuildRequires: gcc-c++  BuildRequires: autoconf automake libtool @@ -77,6 +78,9 @@ rm -rfv %{buildroot}%{_datadir}/gc/  %{_mandir}/man3/gc.3*  %changelog +* Fri Aug 23 2024 Funda Wang <fundawang@yeah.net> - 8.2.6-3 +- move atomic_ops libs into private so that it won't confuse downstream packages +  * Thu Aug 15 2024 Funda Wang <fundawang@yeah.net> - 8.2.6-2  - move libgctba.so into devel package  - build against system atomic_ops  | 
