From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/gsm/, media-sound/gsm/files/
Date: Sun, 21 Jun 2020 13:21:09 +0000 (UTC) [thread overview]
Message-ID: <1592745604.fa3fe72ac3009600ce6c1597b4e2b221e03051c0.soap@gentoo> (raw)
commit: fa3fe72ac3009600ce6c1597b4e2b221e03051c0
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 21 13:20:04 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jun 21 13:20:04 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa3fe72a
media-sound/gsm: [QA] Pass RANLIB to build system
Closes: https://bugs.gentoo.org/718050
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: David Seifert <soap <AT> gentoo.org>
media-sound/gsm/files/gsm-1.0.13-shared.patch | 30 +++++++++++++++++----------
media-sound/gsm/gsm-1.0.13-r1.ebuild | 4 ++--
2 files changed, 21 insertions(+), 13 deletions(-)
diff --git a/media-sound/gsm/files/gsm-1.0.13-shared.patch b/media-sound/gsm/files/gsm-1.0.13-shared.patch
index fc99e2c3043..ba178092c2f 100644
--- a/media-sound/gsm/files/gsm-1.0.13-shared.patch
+++ b/media-sound/gsm/files/gsm-1.0.13-shared.patch
@@ -1,16 +1,24 @@
-diff -ur gsm-1.0-pl13.orig/Makefile gsm-1.0-pl13/Makefile
---- gsm-1.0-pl13.orig/Makefile 2006-04-26 22:14:26.000000000 +0300
-+++ gsm-1.0-pl13/Makefile 2009-09-08 14:50:02.000000000 +0300
-@@ -96,7 +96,7 @@
+--- a/Makefile
++++ b/Makefile
+@@ -96,16 +96,14 @@
# Other tools
SHELL = /bin/sh
-LN = ln
+LN = ln -s
BASENAME = basename
- AR = ar
+-AR = ar
ARFLAGS = cr
-@@ -140,6 +140,7 @@
+ RMFLAGS =
+ FIND = find
+ COMPRESS = compress
+ COMPRESSFLAGS =
+ # RANLIB = true
+-RANLIB = ranlib
+
+ #
+ # You shouldn't have to configure below this line if you're porting.
+@@ -140,6 +138,7 @@
# Targets
LIBGSM = $(LIB)/libgsm.a
@@ -18,7 +26,7 @@ diff -ur gsm-1.0-pl13.orig/Makefile gsm-1.0-pl13/Makefile
TOAST = $(BIN)/toast
UNTOAST = $(BIN)/untoast
-@@ -203,24 +204,43 @@
+@@ -203,24 +202,43 @@
# Object files
@@ -80,7 +88,7 @@ diff -ur gsm-1.0-pl13.orig/Makefile gsm-1.0-pl13/Makefile
TOAST_OBJECTS = $(SRC)/toast.o \
$(SRC)/toast_lin.o \
-@@ -228,7 +248,7 @@
+@@ -228,7 +246,7 @@
$(SRC)/toast_alaw.o \
$(SRC)/toast_audio.o
@@ -89,7 +97,7 @@ diff -ur gsm-1.0-pl13.orig/Makefile gsm-1.0-pl13/Makefile
# Manuals
-@@ -277,9 +297,12 @@
+@@ -277,9 +295,12 @@
$(CC) $(CFLAGS) $?
@-mv `$(BASENAME) $@` $@ > /dev/null 2>&1
@@ -103,7 +111,7 @@ diff -ur gsm-1.0-pl13.orig/Makefile gsm-1.0-pl13/Makefile
@-echo $(ROOT): Done.
tst: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/test-result
-@@ -299,24 +322,29 @@
+@@ -299,24 +320,29 @@
# The basic API: libgsm
@@ -138,7 +146,7 @@ diff -ur gsm-1.0-pl13.orig/Makefile gsm-1.0-pl13/Makefile
# The local bin and lib directories
-@@ -426,7 +454,9 @@
+@@ -426,7 +452,9 @@
clean: semi-clean
-rm $(RMFLAGS) $(LIBGSM) $(ADDTST)/add \
diff --git a/media-sound/gsm/gsm-1.0.13-r1.ebuild b/media-sound/gsm/gsm-1.0.13-r1.ebuild
index 676c7daf803..7f0c2275a72 100644
--- a/media-sound/gsm/gsm-1.0.13-r1.ebuild
+++ b/media-sound/gsm/gsm-1.0.13-r1.ebuild
@@ -38,14 +38,14 @@ src_configure() {
multilib_src_compile() {
emake -j1 CCFLAGS="${CFLAGS} -c -DNeedFunctionPrototypes=1" \
- LD="$(tc-getCC)" AR="$(tc-getAR)" CC="$(tc-getCC)"
+ LD="$(tc-getCC)" AR="$(tc-getAR)" CC="$(tc-getCC)" RANLIB="$(tc-getRANLIB)"
}
multilib_src_install() {
dodir /usr/bin /usr/$(get_libdir) /usr/include/gsm /usr/share/man/man{1,3}
emake -j1 INSTALL_ROOT="${ED}"/usr \
- LD="$(tc-getCC)" AR="$(tc-getAR)" CC="$(tc-getCC)" \
+ LD="$(tc-getCC)" AR="$(tc-getAR)" CC="$(tc-getCC)" RANLIB="$(tc-getRANLIB)" \
GSM_INSTALL_LIB="${ED}"/usr/$(get_libdir) \
GSM_INSTALL_INC="${ED}"/usr/include/gsm \
GSM_INSTALL_MAN="${ED}"/usr/share/man/man3 \
next reply other threads:[~2020-06-21 13:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-21 13:21 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-11-06 7:06 [gentoo-commits] repo/gentoo:master commit in: media-sound/gsm/, media-sound/gsm/files/ Sam James
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=1592745604.fa3fe72ac3009600ce6c1597b4e2b221e03051c0.soap@gentoo \
--to=soap@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