Accepting request 1000970 from devel:libraries:c_c++
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1000970 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gc?expand=0&rev=38
This commit is contained in:
commit
a71cbfc255
@ -1,64 +0,0 @@
|
||||
From c876dc2b12fcfd65466b9aa42349cfb621064971 Mon Sep 17 00:00:00 2001
|
||||
From: Jakub Wojciech <jakub-w@riseup.net>
|
||||
Date: Fri, 5 Nov 2021 08:36:32 +0100
|
||||
Subject: [PATCH] Distribute gc_gcj.h and some other headers in
|
||||
single-obj-compilation
|
||||
|
||||
Issue #389 (bdwgc).
|
||||
|
||||
This fixes installation of gc_pthread_redirects.h, gc_gcj.h and
|
||||
gc_disclaim.h if --single-obj-compilation is passed to configure.
|
||||
|
||||
* Makefile.am [PTHREADS] (pkginclude_HEADERS): Move outside the
|
||||
SINGLE_GC_OBJ conditional.
|
||||
* Makefile.am [ENABLE_GCJ_SUPPORT] (pkginclude_HEADERS): Likewise.
|
||||
* Makefile.am [ENABLE_DISCLAIM] (pkginclude_HEADERS): Likewise.
|
||||
---
|
||||
Makefile.am | 15 ++++++++++++---
|
||||
1 file changed, 12 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git Makefile.am Makefile.am
|
||||
index e3230c1d..f557fe12 100644
|
||||
--- Makefile.am
|
||||
+++ Makefile.am
|
||||
@@ -83,7 +83,6 @@ else
|
||||
if PTHREADS
|
||||
# Not Cygwin or MinGW.
|
||||
libgc_la_SOURCES += pthread_start.c pthread_support.c
|
||||
-pkginclude_HEADERS += include/gc_pthread_redirects.h
|
||||
if DARWIN_THREADS
|
||||
libgc_la_SOURCES += darwin_stop_world.c
|
||||
else
|
||||
@@ -106,17 +105,27 @@ endif
|
||||
|
||||
if ENABLE_GCJ_SUPPORT
|
||||
libgc_la_SOURCES += gcj_mlc.c
|
||||
-pkginclude_HEADERS += include/gc_gcj.h
|
||||
endif
|
||||
|
||||
if ENABLE_DISCLAIM
|
||||
libgc_la_SOURCES += fnlz_mlc.c
|
||||
-pkginclude_HEADERS += include/gc_disclaim.h
|
||||
endif
|
||||
|
||||
## End of !SINGLE_GC_OBJ
|
||||
endif
|
||||
|
||||
+if PTHREADS
|
||||
+pkginclude_HEADERS += include/gc_pthread_redirects.h
|
||||
+endif
|
||||
+
|
||||
+if ENABLE_GCJ_SUPPORT
|
||||
+pkginclude_HEADERS += include/gc_gcj.h
|
||||
+endif
|
||||
+
|
||||
+if ENABLE_DISCLAIM
|
||||
+pkginclude_HEADERS += include/gc_disclaim.h
|
||||
+endif
|
||||
+
|
||||
if USE_INTERNAL_LIBATOMIC_OPS
|
||||
nodist_libgc_la_SOURCES = libatomic_ops/src/atomic_ops.c
|
||||
endif
|
||||
--
|
||||
2.34.0
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2540f7356cb74f6c5b75326c6d38a066edd796361fd7d4ed26e494d9856fed8f
|
||||
size 1183225
|
3
gc-8.2.2.tar.gz
Normal file
3
gc-8.2.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f30107bcb062e0920a790ffffa56d9512348546859364c23a14be264b38836a0
|
||||
size 1200115
|
15
gc.changes
15
gc.changes
@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 26 19:56:22 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 8.2.2
|
||||
* Avoid potential race in GC_init_real_syms after
|
||||
GC_allow_register_threads
|
||||
* Do not count unmapped regions if GC_unmap is madvise-based
|
||||
(Linux)
|
||||
* Fix assertion violation of GC_thread_key alignment if
|
||||
pthread-based TLS
|
||||
* Fix hang on sem_wait in GC_suspend_thread if thread was
|
||||
resumed recently
|
||||
- Delete 0001-Distribute-gc_gcj.h-and-some-other-headers-in-single.patch
|
||||
(applied)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 2 17:28:08 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
5
gc.spec
5
gc.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gc
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: gc
|
||||
Version: 8.2.0
|
||||
Version: 8.2.2
|
||||
Release: 0
|
||||
Summary: A garbage collector for C and C++
|
||||
License: BSD-3-Clause
|
||||
@ -26,7 +26,6 @@ URL: http://www.hboehm.info/gc/
|
||||
|
||||
#Git-Clone: https://github.com/ivmai/bdwgc
|
||||
Source: https://github.com/ivmai/bdwgc/releases/download/v%version/%name-%version.tar.gz
|
||||
Patch1: 0001-Distribute-gc_gcj.h-and-some-other-headers-in-single.patch
|
||||
BuildRequires: autoconf >= 2.64
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libtool
|
||||
|
Loading…
x
Reference in New Issue
Block a user