summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libsdl2')
-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