0001-Do-not-reference-host-directory-for-headers.patch 923 B

1234567891011121314151617181920212223242526272829
  1. From 07309a49ad6c3e18c8c84fe54f1fdb9e103c4cc5 Mon Sep 17 00:00:00 2001
  2. From: Francois Perrad <francois.perrad@gadz.org>
  3. Date: Sun, 22 Oct 2017 13:00:01 +0200
  4. Subject: [PATCH] Do not reference host directory for headers
  5. Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
  6. ---
  7. cmake/FindSDL2.cmake | 5 -----
  8. 1 file changed, 5 deletions(-)
  9. diff --git a/cmake/FindSDL2.cmake b/cmake/FindSDL2.cmake
  10. index 5cf4115..5e17919 100644
  11. --- a/cmake/FindSDL2.cmake
  12. +++ b/cmake/FindSDL2.cmake
  13. @@ -73,11 +73,6 @@ find_path(SDL2_INCLUDE_DIR SDL.h
  14. PATH_SUFFIXES include/SDL2 include
  15. )
  16. -# On FreeBSD SDL depends on libiconv and SDL_stdinc.h includes iconv.h, which is
  17. -# located in ${LOCALBASE}/include. Append {LOCALBASE}/include to
  18. -# the SDL_INCLUDE_DIR, thus allow to build SDL apps out of box.
  19. -list(APPEND SDL2_INCLUDE_DIR /usr/local/include)
  20. -
  21. find_library(SDL_LIBRARY_TEMP
  22. NAMES SDL2 SDL2-2.0
  23. HINTS
  24. --
  25. 2.13.6