From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1244574-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 63AB71382C5 for <garchives@archives.gentoo.org>; Sat, 23 Jan 2021 21:38:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 98106E09BD; Sat, 23 Jan 2021 21:38:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7F6E4E09BD for <gentoo-commits@lists.gentoo.org>; Sat, 23 Jan 2021 21:38:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 868C0335D2B for <gentoo-commits@lists.gentoo.org>; Sat, 23 Jan 2021 21:38:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 40EBE32B for <gentoo-commits@lists.gentoo.org>; Sat, 23 Jan 2021 21:38:56 +0000 (UTC) From: "Lars Wendler" <polynomial-c@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" <polynomial-c@gentoo.org> Message-ID: <1611437934.d879514d47aecf06486cb36be7ff84b81f04bca2.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/sdl2-gfx/files/, media-libs/sdl2-gfx/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/sdl2-gfx/files/sdl2-gfx-1.0.4-slibtool.patch media-libs/sdl2-gfx/sdl2-gfx-1.0.4.ebuild X-VCS-Directories: media-libs/sdl2-gfx/files/ media-libs/sdl2-gfx/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: d879514d47aecf06486cb36be7ff84b81f04bca2 X-VCS-Branch: master Date: Sat, 23 Jan 2021 21:38:56 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7f90bfb2-22b0-4533-9feb-dfe4d7601cd8 X-Archives-Hash: 50b20d1be835dc789679f2cfdd661a5c commit: d879514d47aecf06486cb36be7ff84b81f04bca2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> AuthorDate: Sat Jan 23 21:34:28 2021 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Sat Jan 23 21:38:54 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d879514d media-libs/sdl2-gfx: Fixed build with sys-devel/slibtool this time without breaking .so libnames Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> .../sdl2-gfx/files/sdl2-gfx-1.0.4-slibtool.patch | 26 ++++++++++++++++++++++ media-libs/sdl2-gfx/sdl2-gfx-1.0.4.ebuild | 6 ++++- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/media-libs/sdl2-gfx/files/sdl2-gfx-1.0.4-slibtool.patch b/media-libs/sdl2-gfx/files/sdl2-gfx-1.0.4-slibtool.patch new file mode 100644 index 00000000000..e4895c30951 --- /dev/null +++ b/media-libs/sdl2-gfx/files/sdl2-gfx-1.0.4-slibtool.patch @@ -0,0 +1,26 @@ +This fixes build with sys-devel/slibtool + +--- SDL2_gfx-1.0.4/configure.in ++++ SDL2_gfx-1.0.4/configure.in +@@ -58,6 +58,9 @@ + fi + AC_CHECK_PROGS(WINDRES, [windres $hostaliaswindres $host_os-windres]) + ++AC_CHECK_LIBM ++AC_SUBST([LIBM]) ++ + case "$host" in + *-*-beos*) + ac_default_prefix=/boot/develop/tools/gnupro +--- SDL2_gfx-1.0.4/Makefile.am ++++ SDL2_gfx-1.0.4/Makefile.am +@@ -24,6 +24,9 @@ + -release $(LT_RELEASE) \ + -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) + ++libSDL2_gfx_la_LIBADD = \ ++ $(LIBM) ++ + %.o : %.rc + $(WINDRES) $< $@ + diff --git a/media-libs/sdl2-gfx/sdl2-gfx-1.0.4.ebuild b/media-libs/sdl2-gfx/sdl2-gfx-1.0.4.ebuild index 860562eafdb..494a39f77f5 100644 --- a/media-libs/sdl2-gfx/sdl2-gfx-1.0.4.ebuild +++ b/media-libs/sdl2-gfx/sdl2-gfx-1.0.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -21,6 +21,10 @@ DOCS=( AUTHORS ChangeLog README ) S=${WORKDIR}/${MY_P} +PATCHES=( + "${FILESDIR}/${PN}-1.0.4-slibtool.patch" +) + src_prepare() { default mv configure.in configure.ac || die