Reported-by: Toralf Förster <toralf@gentoo.org>
Closes: https://bugs.gentoo.org/634470
Closes: https://github.com/gentoo/gentoo/pull/6496
Package-Manager: Portage-2.3.13, Repoman-2.3.3
--- /dev/null
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index a1e8541..80a96c2 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -208,7 +208,7 @@ else()
+ endif()
+ add_dependencies(grooveplayer groove)
+ target_link_libraries(grooveplayer LINK_PRIVATE ${SDL2_LIBRARY})
+- include_directories(${SDL2_INCLUDE_DIR})
++ include_directories(${SDL2_INCLUDE_DIR} "${SDL2_INCLUDE_DIR}/SDL2")
+
+ install(FILES "grooveplayer/player.h" DESTINATION "include/grooveplayer")
+ install(TARGETS grooveplayer DESTINATION lib)
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}/${P}_cflags.patch"
+ "${FILESDIR}/${P}_sdl2_include_dir.patch"
"${FILESDIR}/${P}_GNUInstallDirs.patch" )
src_configure() {