summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2021-01-11 11:40:15 -0500
committerMike Gilbert <floppym@gentoo.org>2021-01-11 11:45:48 -0500
commitaf43ef670c3d235a35d86f3ac22dde0c242d2ca2 (patch)
tree06b5c477349b01d9eaba8dcbbb2d67d9a4b927f1 /media-libs
parentdev-php/pecl-ssh2: Add 8.0 to live ebuild (diff)
downloadgentoo-af43ef670c3d235a35d86f3ac22dde0c242d2ca2.tar.gz
gentoo-af43ef670c3d235a35d86f3ac22dde0c242d2ca2.tar.bz2
gentoo-af43ef670c3d235a35d86f3ac22dde0c242d2ca2.zip
media-libs/libsdl2: stub-out eautoheader
Closes: https://bugs.gentoo.org/764959 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libsdl2/libsdl2-2.0.14-r1.ebuild (renamed from media-libs/libsdl2/libsdl2-2.0.14.ebuild)5
1 files changed, 5 insertions, 0 deletions
diff --git a/media-libs/libsdl2/libsdl2-2.0.14.ebuild b/media-libs/libsdl2/libsdl2-2.0.14-r1.ebuild
index 44d7980013f7..04e09689b1d3 100644
--- a/media-libs/libsdl2/libsdl2-2.0.14.ebuild
+++ b/media-libs/libsdl2/libsdl2-2.0.14-r1.ebuild
@@ -98,6 +98,11 @@ src_prepare() {
rm -r src/video/khronos || die
ln -s "${ESYSROOT}/usr/include" src/video/khronos || die
+ # SDL seems to customize SDL_config.h.in to remove macros like PACKAGE_NAME.
+ # Stub out eautoheader to prevent those macros from being reintroduced.
+ # https://bugs.gentoo.org/764959
+ eautoheader() { :; }
+
AT_M4DIR="/usr/share/aclocal acinclude" eautoreconf
# libsdl2-2.0.14 build regression. Please check if still needed