diff options
| author | WANG Xuerui <xen0n@gentoo.org> | 2022-05-04 17:11:57 +0800 |
|---|---|---|
| committer | WANG Xuerui <xen0n@gentoo.org> | 2022-05-04 22:31:52 +0800 |
| commit | 509cca29fe90b34bcb7dae9d507e2bb85bc8edda (patch) | |
| tree | 6fca3b1f725d6af7f1ecf1afa7aebb6ab211ec9d /dev-libs/jemalloc/files/jemalloc-5.3.0-gentoo-fixups.patch | |
| parent | 7b9cd33af9ed411cddd37b9544970b0a1f407a15 (diff) | |
| download | gentoo-509cca29fe90b34bcb7dae9d507e2bb85bc8edda.tar.gz gentoo-509cca29fe90b34bcb7dae9d507e2bb85bc8edda.tar.bz2 gentoo-509cca29fe90b34bcb7dae9d507e2bb85bc8edda.zip | |
dev-libs/jemalloc: add 5.3.0_pre20220405
This is snapshot of https://github.com/jemalloc/jemalloc/commit/ed5fc14b28ca,
currently being tested by upstream as the 5.3.0 RC.
Tested locally on amd64 and loong, but revdeps are not tested, so dropped
all keywords for this version.
Meanwhile, bumped EAPI to 8, and removed IUSE=static-libs due to no
consumer in tree.
See: https://github.com/jemalloc/jemalloc/issues/2213
Closes: https://github.com/gentoo/gentoo/pull/25315
Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
Diffstat (limited to 'dev-libs/jemalloc/files/jemalloc-5.3.0-gentoo-fixups.patch')
| -rw-r--r-- | dev-libs/jemalloc/files/jemalloc-5.3.0-gentoo-fixups.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-libs/jemalloc/files/jemalloc-5.3.0-gentoo-fixups.patch b/dev-libs/jemalloc/files/jemalloc-5.3.0-gentoo-fixups.patch new file mode 100644 index 000000000000..e500a63225f0 --- /dev/null +++ b/dev-libs/jemalloc/files/jemalloc-5.3.0-gentoo-fixups.patch @@ -0,0 +1,43 @@ +This is jemalloc-5.2.0-gentoo-fixups.patch, rebased on top of upstream commit +https://github.com/jemalloc/jemalloc/commit/ed5fc14b28ca62a6. +From: Jory Pratt <anarchy@gentoo.org> +Date: Tue, 23 Apr 2019 10:04:19 -0500 +Subject: [PATCH] Don't override user cflags, disable html_doc from being + installed + +Signed-off-by: Jory Pratt <anarchy@gentoo.org> +--- a/Makefile.in ++++ b/Makefile.in +@@ -603,7 +603,7 @@ install_doc_man: build_doc_man + $(INSTALL) -v -m 644 $$d $(MANDIR)/man3; \ + done + +-install_doc: install_doc_html install_doc_man ++install_doc: install_doc_man + + install: install_bin install_include install_lib + +--- a/configure.ac ++++ b/configure.ac +@@ -1220,21 +1220,6 @@ if test "x$enable_debug" = "x1" ; then + fi + AC_SUBST([enable_debug]) + +-dnl Only optimize if not debugging. +-if test "x$enable_debug" = "x0" ; then +- if test "x$GCC" = "xyes" ; then +- JE_CFLAGS_ADD([-O3]) +- JE_CXXFLAGS_ADD([-O3]) +- JE_CFLAGS_ADD([-funroll-loops]) +- elif test "x$je_cv_msvc" = "xyes" ; then +- JE_CFLAGS_ADD([-O2]) +- JE_CXXFLAGS_ADD([-O2]) +- else +- JE_CFLAGS_ADD([-O]) +- JE_CXXFLAGS_ADD([-O]) +- fi +-fi +- + dnl Enable statistics calculation by default. + AC_ARG_ENABLE([stats], + [AS_HELP_STRING([--disable-stats], |
