summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-01-23 22:00:52 +0100
committerLars Wendler <polynomial-c@gentoo.org>2021-01-23 22:00:52 +0100
commiteba316175b538cb5d338b2c4fe76c00c0780f2f8 (patch)
treec5c6e0c86c14589cb3542cad1f4e09c6b3c3e75b /media-libs/sdl2-gfx
parentdev-util/cppunit: Revbump to remove broken slibtool patch (diff)
downloadgentoo-eba316175b538cb5d338b2c4fe76c00c0780f2f8.tar.gz
gentoo-eba316175b538cb5d338b2c4fe76c00c0780f2f8.tar.bz2
gentoo-eba316175b538cb5d338b2c4fe76c00c0780f2f8.zip
Revert "media-libs/sdl2-gfx: Fixed build with sys-devel/slibtool"
This reverts commit e4de27b039a858253a3d6b86b22965ab746514b2 as it breaks .so version names Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-libs/sdl2-gfx')
-rw-r--r--media-libs/sdl2-gfx/files/sdl2-gfx-1.0.4-slibtool.patch29
-rw-r--r--media-libs/sdl2-gfx/sdl2-gfx-1.0.4.ebuild6
2 files changed, 1 insertions, 34 deletions
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
deleted file mode 100644
index 3fd3b8767fe1..000000000000
--- a/media-libs/sdl2-gfx/files/sdl2-gfx-1.0.4-slibtool.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-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
-@@ -21,9 +21,11 @@
-
- libSDL2_gfx_la_LDFLAGS = \
- -no-undefined \
-- -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 494a39f77f5a..860562eafdb9 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-2021 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -21,10 +21,6 @@ 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