1 |
commit: 69b9621c21834f6259f4a2f3f151be53e5a8360f |
2 |
Author: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 23 15:18:43 2019 +0000 |
4 |
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 23 15:18:43 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=69b9621c |
7 |
|
8 |
dev-libs/jemalloc: version 5.2.0 bump |
9 |
|
10 |
Package-Manager: Portage-2.3.64, Repoman-2.3.12 |
11 |
Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org> |
12 |
|
13 |
dev-libs/jemalloc/Manifest | 2 +- |
14 |
.../files/jemalloc-4.5.0-fix_html_install.patch | 25 ---------- |
15 |
.../files/jemalloc-5.0.1-strip-optimization.patch | 26 ----------- |
16 |
.../files/jemalloc-5.2.0-gentoo-fixups.patch | 54 ++++++++++++++++++++++ |
17 |
...jemalloc-5.1.0.ebuild => jemalloc-5.2.0.ebuild} | 7 ++- |
18 |
dev-libs/jemalloc/metadata.xml | 1 - |
19 |
6 files changed, 58 insertions(+), 57 deletions(-) |
20 |
|
21 |
diff --git a/dev-libs/jemalloc/Manifest b/dev-libs/jemalloc/Manifest |
22 |
index 168443f..06a80d2 100644 |
23 |
--- a/dev-libs/jemalloc/Manifest |
24 |
+++ b/dev-libs/jemalloc/Manifest |
25 |
@@ -1 +1 @@ |
26 |
-DIST jemalloc-5.1.0.tar.bz2 515622 BLAKE2B 3c8b35d30fca0018e3e32452e6fa41c7ac59f9f2f7d4bc243237fde95025ab5a7562fb86b5afe2ca9b7bb072f7baf6ac7589a4862d9ebaafddae187d93e20da0 SHA512 d9abebe54d303ca931b8c31c1033f23ff5fb060f2377ec8386f4d79c352e65c78ed34f680c352dac14f7d7115d10245782d553d988bc13df2eb34a2f0942ef6f |
27 |
+DIST jemalloc-5.2.0.tar.bz2 543892 BLAKE2B 042dd32452713d0524ae8aedbd3aa96a420037ae3ff0345bbf56a7839ae6ba9e0c700034fab9d5c7b6f4cbb43e2d8199b412901afce16c2785a816d439166e6d SHA512 e3be4d534770126caf10f2684aed9fe4ba1422dd47625fe50343cfb750f26eff869fcc7d1e30a96dd6c73f6614c4bbcd560fd24fc26b55ac731c43e60fd05234 |
28 |
|
29 |
diff --git a/dev-libs/jemalloc/files/jemalloc-4.5.0-fix_html_install.patch b/dev-libs/jemalloc/files/jemalloc-4.5.0-fix_html_install.patch |
30 |
deleted file mode 100644 |
31 |
index 159702e..0000000 |
32 |
--- a/dev-libs/jemalloc/files/jemalloc-4.5.0-fix_html_install.patch |
33 |
+++ /dev/null |
34 |
@@ -1,25 +0,0 @@ |
35 |
-From c04d0b954adef2d3f1a30d91dc687f6a03b108eb Mon Sep 17 00:00:00 2001 |
36 |
-From: |
37 |
-Date: Mon, 29 May 2017 00:58:32 -0500 |
38 |
-Subject: [PATCH 2/2] Do not install html doc |
39 |
- |
40 |
---- |
41 |
- Makefile.in | 2 +- |
42 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
43 |
- |
44 |
-diff --git a/Makefile.in b/Makefile.in |
45 |
-index e49a871..733932a 100644 |
46 |
---- a/Makefile.in |
47 |
-+++ b/Makefile.in |
48 |
-@@ -381,7 +381,7 @@ install_doc_man: |
49 |
- $(INSTALL) -m 644 $$d $(MANDIR)/man3; \ |
50 |
- done |
51 |
- |
52 |
--install_doc: install_doc_html install_doc_man |
53 |
-+install_doc: install_doc_man |
54 |
- |
55 |
- install: install_bin install_include install_lib install_doc |
56 |
- |
57 |
--- |
58 |
-2.13.0 |
59 |
- |
60 |
|
61 |
diff --git a/dev-libs/jemalloc/files/jemalloc-5.0.1-strip-optimization.patch b/dev-libs/jemalloc/files/jemalloc-5.0.1-strip-optimization.patch |
62 |
deleted file mode 100644 |
63 |
index 523badf..0000000 |
64 |
--- a/dev-libs/jemalloc/files/jemalloc-5.0.1-strip-optimization.patch |
65 |
+++ /dev/null |
66 |
@@ -1,26 +0,0 @@ |
67 |
-diff --git a/configure.ac b/configure.ac |
68 |
-index 1551ded8..2f470672 100644 |
69 |
---- a/configure.ac |
70 |
-+++ b/configure.ac |
71 |
-@@ -976,21 +976,6 @@ if test "x$enable_debug" = "x1" ; then |
72 |
- fi |
73 |
- AC_SUBST([enable_debug]) |
74 |
- |
75 |
--dnl Only optimize if not debugging. |
76 |
--if test "x$enable_debug" = "x0" ; then |
77 |
-- if test "x$GCC" = "xyes" ; then |
78 |
-- JE_CFLAGS_ADD([-O3]) |
79 |
-- JE_CXXFLAGS_ADD([-O3]) |
80 |
-- JE_CFLAGS_ADD([-funroll-loops]) |
81 |
-- elif test "x$je_cv_msvc" = "xyes" ; then |
82 |
-- JE_CFLAGS_ADD([-O2]) |
83 |
-- JE_CXXFLAGS_ADD([-O2]) |
84 |
-- else |
85 |
-- JE_CFLAGS_ADD([-O]) |
86 |
-- JE_CXXFLAGS_ADD([-O]) |
87 |
-- fi |
88 |
--fi |
89 |
-- |
90 |
- dnl Enable statistics calculation by default. |
91 |
- AC_ARG_ENABLE([stats], |
92 |
- [AS_HELP_STRING([--disable-stats], |
93 |
|
94 |
diff --git a/dev-libs/jemalloc/files/jemalloc-5.2.0-gentoo-fixups.patch b/dev-libs/jemalloc/files/jemalloc-5.2.0-gentoo-fixups.patch |
95 |
new file mode 100644 |
96 |
index 0000000..2e7fd0d |
97 |
--- /dev/null |
98 |
+++ b/dev-libs/jemalloc/files/jemalloc-5.2.0-gentoo-fixups.patch |
99 |
@@ -0,0 +1,54 @@ |
100 |
+From 482a28e74f9b3c83bef6499842f1191c04ae80d9 Mon Sep 17 00:00:00 2001 |
101 |
+From: Jory Pratt <anarchy@g.o> |
102 |
+Date: Tue, 23 Apr 2019 10:04:19 -0500 |
103 |
+Subject: [PATCH] Don't override user cflags, disable html_doc from being |
104 |
+ installed |
105 |
+ |
106 |
+Signed-off-by: Jory Pratt <anarchy@g.o> |
107 |
+--- |
108 |
+ Makefile.in | 2 +- |
109 |
+ configure.ac | 15 --------------- |
110 |
+ 2 files changed, 1 insertion(+), 16 deletions(-) |
111 |
+ |
112 |
+diff --git a/Makefile.in b/Makefile.in |
113 |
+index 0777f6a..31767b6 100644 |
114 |
+--- a/Makefile.in |
115 |
++++ b/Makefile.in |
116 |
+@@ -511,7 +511,7 @@ install_doc_man: |
117 |
+ $(INSTALL) -m 644 $$d $(MANDIR)/man3; \ |
118 |
+ done |
119 |
+ |
120 |
+-install_doc: build_doc install_doc_html install_doc_man |
121 |
++install_doc: build_doc install_doc_man |
122 |
+ |
123 |
+ install: install_bin install_include install_lib install_doc |
124 |
+ |
125 |
+diff --git a/configure.ac b/configure.ac |
126 |
+index 96f76d3..f716ebd 100644 |
127 |
+--- a/configure.ac |
128 |
++++ b/configure.ac |
129 |
+@@ -1108,21 +1108,6 @@ if test "x$enable_debug" = "x1" ; then |
130 |
+ fi |
131 |
+ AC_SUBST([enable_debug]) |
132 |
+ |
133 |
+-dnl Only optimize if not debugging. |
134 |
+-if test "x$enable_debug" = "x0" ; then |
135 |
+- if test "x$GCC" = "xyes" ; then |
136 |
+- JE_CFLAGS_ADD([-O3]) |
137 |
+- JE_CXXFLAGS_ADD([-O3]) |
138 |
+- JE_CFLAGS_ADD([-funroll-loops]) |
139 |
+- elif test "x$je_cv_msvc" = "xyes" ; then |
140 |
+- JE_CFLAGS_ADD([-O2]) |
141 |
+- JE_CXXFLAGS_ADD([-O2]) |
142 |
+- else |
143 |
+- JE_CFLAGS_ADD([-O]) |
144 |
+- JE_CXXFLAGS_ADD([-O]) |
145 |
+- fi |
146 |
+-fi |
147 |
+- |
148 |
+ dnl Enable statistics calculation by default. |
149 |
+ AC_ARG_ENABLE([stats], |
150 |
+ [AS_HELP_STRING([--disable-stats], |
151 |
+-- |
152 |
+2.21.0 |
153 |
+ |
154 |
|
155 |
diff --git a/dev-libs/jemalloc/jemalloc-5.1.0.ebuild b/dev-libs/jemalloc/jemalloc-5.2.0.ebuild |
156 |
similarity index 91% |
157 |
rename from dev-libs/jemalloc/jemalloc-5.1.0.ebuild |
158 |
rename to dev-libs/jemalloc/jemalloc-5.2.0.ebuild |
159 |
index 7eda36e..ecf6d5e 100644 |
160 |
--- a/dev-libs/jemalloc/jemalloc-5.1.0.ebuild |
161 |
+++ b/dev-libs/jemalloc/jemalloc-5.2.0.ebuild |
162 |
@@ -1,4 +1,4 @@ |
163 |
-# Copyright 1999-2018 Gentoo Foundation |
164 |
+# Copyright 1999-2019 Gentoo Authors |
165 |
# Distributed under the terms of the GNU General Public License v2 |
166 |
|
167 |
EAPI=6 |
168 |
@@ -14,9 +14,8 @@ SLOT="0/2" |
169 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" |
170 |
IUSE="debug hardened lazy-lock static-libs stats xmalloc" |
171 |
HTML_DOCS=( doc/jemalloc.html ) |
172 |
-PATCHES=( "${FILESDIR}/${PN}-5.0.1-strip-optimization.patch" |
173 |
- "${FILESDIR}/${PN}-4.5.0-fix_html_install.patch" |
174 |
-) |
175 |
+PATCHES=( "${FILESDIR}/${PN}-5.2.0-gentoo-fixups.patch" ) |
176 |
+ |
177 |
MULTILIB_WRAPPED_HEADERS=( /usr/include/jemalloc/jemalloc.h ) |
178 |
# autotools-utils.eclass auto-adds configure options when static-libs is in IUSE |
179 |
# but jemalloc doesn't implement them in its configure; need this here to |
180 |
|
181 |
diff --git a/dev-libs/jemalloc/metadata.xml b/dev-libs/jemalloc/metadata.xml |
182 |
index 848a0a7..08893bb 100644 |
183 |
--- a/dev-libs/jemalloc/metadata.xml |
184 |
+++ b/dev-libs/jemalloc/metadata.xml |
185 |
@@ -9,7 +9,6 @@ |
186 |
Jemalloc is a general-purpose scalable concurrent allocator |
187 |
</longdescription> |
188 |
<use> |
189 |
- <flag name="hugepages">Enable transparent huge page support</flag> |
190 |
<flag name="lazy-lock">Enable lazy locking (only lock when multi-threaded)</flag> |
191 |
<flag name="stats">Enable statistics calculation/reporting</flag> |
192 |
<flag name="xmalloc">Add support for xmalloc (abort-on-out-of-memory)</flag> |