0003-Fix-include-of-modplug.h.patch 877 B

123456789101112131415161718192021222324252627282930313233
  1. From fb8e7c535a88838cc8ae364cd2a099df6316d3b0 Mon Sep 17 00:00:00 2001
  2. From: Paul Cercueil <paul@crapouillou.net>
  3. Date: Tue, 30 Apr 2019 23:12:15 +0200
  4. Subject: [PATCH] Fix include of modplug.h
  5. The include path should be <libmodplug/modplug.h>, since the library
  6. doesn't provide any specific include path in its pkg-config file.
  7. This patch was obtained from this bug report:
  8. https://bugzilla.libsdl.org/show_bug.cgi?id=4893
  9. Signed-off-by: Paul Cercueil <paul@crapouillou.net>
  10. ---
  11. music_modplug.h | 3 ++-
  12. 1 file changed, 2 insertions(+), 1 deletion(-)
  13. diff --git a/music_modplug.h b/music_modplug.h
  14. index 92cbafd..49abbb0 100644
  15. --- a/music_modplug.h
  16. +++ b/music_modplug.h
  17. @@ -1,6 +1,7 @@
  18. #ifdef MODPLUG_MUSIC
  19. -#include "modplug.h"
  20. +#include <libmodplug/modplug.h>
  21. +
  22. #include "SDL_rwops.h"
  23. #include "SDL_audio.h"
  24. #include "SDL_mixer.h"
  25. --
  26. 2.21.0.593.g511ec345e18