From: "Jory Pratt" <anarchy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/mozilla:master commit in: dev-libs/jemalloc/files/, dev-libs/jemalloc/
Date: Sun, 11 Aug 2013 14:46:38 +0000 (UTC) [thread overview]
Message-ID: <1376232329.4a741333ae8edd49cc39a34a6a3c12ff696b359c.anarchy@gentoo> (raw)
commit: 4a741333ae8edd49cc39a34a6a3c12ff696b359c
Author: Jory A. Pratt <anarchy <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 11 14:45:29 2013 +0000
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org>
CommitDate: Sun Aug 11 14:45:29 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mozilla.git;a=commit;h=4a741333
Fix ar call directly, bug #445988, Thanks iamnr3 for patch
---
dev-libs/jemalloc/files/jemalloc-fix-ar-call.patch | 59 ++++++++++++++++++++++
dev-libs/jemalloc/jemalloc-3.3.1.ebuild | 3 +-
2 files changed, 61 insertions(+), 1 deletion(-)
diff --git a/dev-libs/jemalloc/files/jemalloc-fix-ar-call.patch b/dev-libs/jemalloc/files/jemalloc-fix-ar-call.patch
new file mode 100644
index 0000000..6d81cda
--- /dev/null
+++ b/dev-libs/jemalloc/files/jemalloc-fix-ar-call.patch
@@ -0,0 +1,59 @@
+diff --git a/Makefile.in b/Makefile.in
+index 7481047..478becb 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -55,6 +55,8 @@ PIC_CFLAGS = @PIC_CFLAGS@
+ CTARGET = @CTARGET@
+ LDTARGET = @LDTARGET@
+ MKLIB = @MKLIB@
++AR = @AR@
++ARFLAGS = crus
+ CC_MM = @CC_MM@
+
+ ifeq (macho, $(ABI))
+@@ -185,7 +187,7 @@ $(objroot)lib/$(LIBJEMALLOC)_s.$(A) : $(COBJS)
+
+ $(STATIC_LIBS):
+ @mkdir -p $(@D)
+- $(MKLIB) $+
++ $(AR) $(ARFLAGS) $@ $+
+
+ $(objroot)test/bitmap$(EXE): $(objroot)src/bitmap.$(O)
+
+diff --git a/configure.ac b/configure.ac
+index c270662..f4b4c21 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -226,9 +226,13 @@ PIC_CFLAGS='-fPIC -DPIC'
+ CTARGET='-o $@'
+ LDTARGET='-o $@'
+ EXTRA_LDFLAGS=
+-MKLIB='ar crus $@'
+ CC_MM=1
+
++AN_MAKEVAR([AR], [AC_PROG_AR])
++AN_PROGRAM([ar], [AC_PROG_AR])
++AC_DEFUN([AC_PROG_AR], [AC_CHECK_TOOL(AR, ar, :)])
++AC_PROG_AR
++
+ dnl Platform-specific settings. abi and RPATH can probably be determined
+ dnl programmatically, but doing so is error-prone, which makes it generally
+ dnl not worth the trouble.
+@@ -310,7 +314,8 @@ case "${host}" in
+ EXTRA_LDFLAGS="-link -DEBUG"
+ CTARGET='-Fo$@'
+ LDTARGET='-Fe$@'
+- MKLIB='lib -nologo -out:$@'
++ AR='lib'
++ ARFLAGS='-nologo -out:'
+ CC_MM=
+ else
+ importlib="${so}"
+@@ -403,7 +408,6 @@ AC_SUBST([enable_autogen])
+
+ AC_PROG_INSTALL
+ AC_PROG_RANLIB
+-AC_PATH_PROG([AR], [ar], [false], [$PATH])
+ AC_PATH_PROG([LD], [ld], [false], [$PATH])
+ AC_PATH_PROG([AUTOCONF], [autoconf], [false], [$PATH])
+
diff --git a/dev-libs/jemalloc/jemalloc-3.3.1.ebuild b/dev-libs/jemalloc/jemalloc-3.3.1.ebuild
index afe943a..5874024 100644
--- a/dev-libs/jemalloc/jemalloc-3.3.1.ebuild
+++ b/dev-libs/jemalloc/jemalloc-3.3.1.ebuild
@@ -19,7 +19,8 @@ src_prepare() {
epatch \
"${FILESDIR}/${PN}-3.0.0-strip-optimization.patch" \
"${FILESDIR}/${PN}-3.0.0-no-pprof.patch" \
- "${FILESDIR}/${PN}-3.0.0_fix_html_install.patch"
+ "${FILESDIR}/${PN}-3.0.0_fix_html_install.patch" \
+ "${FILESDIR}/${PN}-fix-ar-call.patch"
eautoreconf
}
next reply other threads:[~2013-08-11 14:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-11 14:46 Jory Pratt [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-04-12 11:56 [gentoo-commits] proj/mozilla:master commit in: dev-libs/jemalloc/files/, dev-libs/jemalloc/ Joonas Niilola
2017-10-08 13:54 Jory Pratt
2017-05-29 6:21 Jory Pratt
2016-03-28 14:57 Ian Stakenvicius
2014-03-08 0:37 Jory Pratt
2012-02-26 3:55 Jory Pratt
2011-11-20 19:23 Jory Pratt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1376232329.4a741333ae8edd49cc39a34a6a3c12ff696b359c.anarchy@gentoo \
--to=anarchy@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox